Category Archives: Programming

Running Unit Test with Org Mode

Frédérick Giasson has a nice post in which he describes how he uses Org mode to run unit tests on his code. Actually, his goal is to combine the writing, documentation, and testing of his code in a single document … Continue reading

Posted in Programming | Tagged , | 1 Comment

Chez Scheme Open Sourced

Chez Scheme has always been an excellent Scheme implementation. It produces very fast object code and is a complete R6RS implementation with extensions. Chez Scheme was written by Kent Dybvig, who also wrote the excellent The SCHEME Programming Language (also … Continue reading

Posted in Programming | Tagged | Leave a comment

Multiple Dispatch in CLOS

Eli Bendersky has an outstanding post on multiple dispatch in Common Lisp. It's part of a series he's doing on multiple dispatch in various languages. Lisp has always looked at OOP differently from most languages and Lispers consider CLOS a … Continue reading

Posted in Programming | Tagged , | 1 Comment

SBCL 1.3.5

The new version of Steel Bank Common Lisp (SBCL 1.3.5) has been released. According to the NEWS file, this month's release fixes 3 bugs and introduces 4 enhancements. As usual, it built and installed without any problems on my Mac. … Continue reading

Posted in Programming | Tagged , | Leave a comment

Elisp Summary

Mitch Fincher has posted an excellent summary of Emacs lisp. If you're vaguely familiar with Lisp-like languages but don't know the particulars of Elisp this page will help you get up to speed. If you're already familiar with Elisp, you … Continue reading

Posted in Programming | Tagged , | 1 Comment

Premature Optimization and Bugs

All developers are aware of Knuth's warning about the dangers of premature optimization. Yesterday, I ran across two posts that nicely illustrate those dangers in the wild. The first is a tweet that explains why Unix files that begin with … Continue reading

Posted in Programming | Tagged | 2 Comments

Emacs pcase

Pattern matching is a powerful paradigm in programming. Recent versions of Emacs Lisp implement this paradigm with the pcase macro. Unfortunately, pcase can be a bit difficult to understand. Fortunately, our Emacs maintainer, John Wiegley, has published an excellent tutorial … Continue reading

Posted in Programming | Tagged | Leave a comment

Is Object Oriented Programming Bad?

One of our community's favorite arguments, right after Vim versus Emacs and static versus dynamic typing, is whether object oriented programming is boon or bane. Like those other arguments, there is more often heat than light in the discussions. Brian … Continue reading

Posted in Programming | 2 Comments

New save-excursion Semantics

Marcin Borkowski (mbork) has a useful heads up for Elisp programmers. Starting with Emacs 25.1, save-excursion will no longer save the mark state. If you want to save the mark, you should use save-mark-and-excursion instead. While reading mbork's post, I … Continue reading

Posted in Programming | Tagged | 3 Comments

Eight Sorts Animated

Animations showing the action of sort algorithms are common. Indeed, there's even one using Hungarian folk dancers. The other day, I stumbled across the best animation that I've seen. It's an animation of 8 different sort algorithms with 4 different … Continue reading

Posted in Programming | Leave a comment