July 26, 2009
It has been some time since I’ve posted on this blog. This blog is going into hiatus for now!
A more current blog is in the works. This blog will explore ideas in many languages and systems.
Hopefully you will be able to use these ideas below to learn something or even take them to the next level.
Feel free to leave me some comments. Thank You!
Exploring an extension to a basic unit testing framework. The extension encapsulates the idea of unit-tests wrapped by a test-fixture.
Exploring a lightweight object-oriented type in Common Lisp.
Exploration of an event driven system in Common Lisp.
An efficient methodology for me when working with lightweight objects.
Tools and explorations that were used for the above projects.
December 11, 2008
This is a must have. Creating a list of the links to review later instead of opening tabs.
Read It Later
December 9, 2008
Abstraction (computer science): is a mechanism and practice to reduce and factor out details so that one can focus on a few concepts at a time.
If you read Lisp Trick #1, hopefully, you saw a pretty good abstraction. What it was doing was abstracting out the setting and getting a value from a variable. As a bonus, because of the way &key parameter keyword can be used, we were able to differentiate whether you were getting the value or setting the variable. Another bonus is that the variable we are getting and setting is encapsulated.
Usually an abstraction is created with the use of macros. Now I’ve made an even larger abstraction of the setter/getter abstraction.
Read the rest of this entry »
July 19, 2008
I’ve now added content to this blog.
Some of the content consist of:
- Blogs I read concerning Lisp.
- Helpful errata.
- Download of Lisp that I program in.
- Some of my personal Lisp projects.
July 2, 2008
Dependency Management: Seems to be brittle.
Project Management: Weak also.
Mocking Framework: None. I found this: ‘el-expectations.el’ and ‘el-mock.el’
Unit Testing: I am presently using lisp-unit. I have found that this tool is pretty good. Sofar I’ve been able to change it’s output pretty easy. I changed the format of the output and then wrapped the macro in (time). I really like this tool.
June 16, 2008
With lisp you can not only pass variables into functions but also pass functions into other functions.
1. This function has no abstraction whatsoever.
(defun does-everything ()
(< 1 2))
2. The predicate function is passed into the function. The number values are constants.
(defun does-constants (fn)
(funcall fn 1 2))
3. The number values are passed into the function.
(defun does-function (x y)
(< x y))
4.Everything is abstracted out, the predicate function and number values are abstracted out.
(defun does-nothing (fn x y)
(funcall fn x y))
The functions could be further refined to take advantage of the abstractions, but for a basic knowledge these are the basic functions.