Category Archives: Programming

Emacs 26, Threads, and Generators

One of the things that a lot of people are exited about in Emacs 26 is the introduction of basic threading. Another, less mentioned, feature is generators. The excellent Chris Wellons has a must-read post that talks about both of … Continue reading

Posted in Programming | Tagged | Leave a comment

Recursion

Mike Zamansky has an interesting post on recursion. The question at hand is whether it makes sense to teach recursion to beginning programming students. Zamansky was a high school CS teacher for many years and now he’s involved—at least in … Continue reading

Posted in Programming | Tagged | Leave a comment

Programs that Program

I’ve written before about Eric Raymond’s (esr) UPSide project that aims to build an open source UPS that has reasonable performance and sensible operation. Esr’s latest post is especially interesting to me because it uses one of my favorite techniques: … Continue reading

Posted in Programming | Tagged | Leave a comment

Comments

One of the perennial programmer arguments—not quite up there with Emacs v. Vim but enduring nonetheless—is whether or not we should comment our code and if so, how. some folks say that the need for comments is a code smell: … Continue reading

Posted in Programming | Tagged | 1 Comment

An Elisp Introduction

A couple of years ago, I wrote about Aaron Bieber’s talk to the Boston Vim Meetup on why and how he moved from Vim to Emacs. It was a great talk and worth watching if you haven’t already (especially if … Continue reading

Posted in Programming | Tagged , | 2 Comments

Get in the Flow!

Via Karl Voit, here’s something you can post on your office door or outside your cubical. Of course, as we all know, it won’t do any good but you’ll feel better. pic.twitter.com/XLeEYUJp78 — Carlos Gustavo Ruiz (@atmantree) June 8, 2017

Posted in Programming | Tagged | Leave a comment

35 Coding Habits to Avoid

Christian Maioli Mackeprang has an interesting post on 35 habits that can negatively affect your coding. I’ll let you read them and make your own judgments as to their value for your situation but I’d like to comment on two … Continue reading

Posted in Programming | Tagged , | 2 Comments

A Simple Programming Praxis Solution in Elisp

Programming Praxis has a simple problem that is meant to explore how easy your favorite programming language makes it to work with strings. The problem is to double every blank in a string. That’s pretty simple but some languages make … Continue reading

Posted in Programming | Tagged , | 6 Comments

Emacs as a C/C++ IDE

This is another of a series of posts on how to use Emacs as a C/C++ IDE. I’m always seeing queries about how to do that so it’s worth another post on the subject. This time, I want to discuss … Continue reading

Posted in Programming | Tagged | 5 Comments

Starting with Scheme

Mike Zamansky has an interesting post on using Scheme as a first language for CS instruction. That’s not a new idea, of course. MIT’s famed 6.001 course (Entry Level Computing) used Scheme and SICP for years. Their course was adopted … Continue reading

Posted in Programming | Tagged , | Leave a comment