Category Archives: Programming

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 | 1 Comment

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

Functional Programming

A couple of years ago, I wrote about Kris Jenkins' wonderful video that demonstrated interactive programming while building a Spotify client in Emacs Lisp. It's one of my favorite videos and I'm still seeing it mentioned as new people discover … Continue reading

Posted in Programming | Tagged , | Leave a comment

John Wiegley on Haskell

Almost every serious Emacser knows by now that John Wiegley has taken over as the Emacs maintainer. Everyone appears united in their belief that this is a good thing and that Wiegley will be a great maintainer. As you'd expect, … Continue reading

Posted in Programming | Tagged | 1 Comment

SBCL 1.3.0

The latest version of Steel Bank Common Lisp (version 1.3.0) is out. This version fixes a few bugs, includes a port to Linux on ARM64, and includes a new, optional interpreter. See the NEWS page for details. I compiled the … Continue reading

Posted in Programming | Tagged , | Leave a comment

Emacs as a C++ IDE

I often see Tweets or posts asking for help in finding a way of using Emacs as a C++ IDE. Mostly people turn to Eclipse for features such as Jump to definition (of class, function, etc.) Autocompletion On-the-fly syntax highlighting … Continue reading

Posted in Programming | Tagged , , | Leave a comment

The Future is S-expressions

Jean-Philippe Paradis makes an astute observation: .@PuercoPop After XML→JSON, next step is JSON→sexp. There'll be unnecessary intermediary steps but the world's asymptotically getting there. — Jean-PhilippeParadis (@HexstreamSoft) May 7, 2015 For some time, I've recommended JSON because it's a sort … Continue reading

Posted in Programming | Tagged | Leave a comment

SBCL 1.2.11 is Out

I downloaded, compiled, and installed SBCL 1.2.11, the latest monthly release of the SBCL system. When I ran the regression tests (on OS X 10.10.3) I got one failure. The main development platform is Linux so I'm assuming this is … Continue reading

Posted in Programming | Tagged , | Leave a comment