Tag Archives: programming

Learnable Programming, Bret Victor, and Other Two Word Phrases

Bret Victor just published his latest essay, “Learnable Programming.” In “Learnable Programming” Bret criticizes the Khan Academy’s latest “interactive” programming education tools and suggests a better way to teach programming. He footnotes the essay with this summary: This essay was an immune response, triggered by hearing too many times that Inventing on Principle was “about [...]

Ruby reminds me of Tcl.

Ruby reminds me of Tcl. It feels like it’s strings all the way down. It’s not a bad thing, it’s just a thing. I kinda like Tcl, actually. File under: things-I-should-have-probably-tweeted

Technology vs. Psychology

Do you write software for a living?  Or design hardware?  Or maybe some of each?  While the particular projects any two software or hardware designers do may be worlds apart, we can characterize what we do in the same way: our work is 20% technology and 80% psychology. Most of the work we do is [...]

How to tell you’re a bad programmer

How to tell you’re a bad programmer: 1. You think you’re an awesome programmer. 2. But no one else has ever told you so. 3. You’ve never looked at old code you wrote and thought, “Ewwww! That is horrible code! What was I thinking???” 4. You’ve never looked at someone else’s code and thought, “Dang, [...]

Using Stack Overflow

Joel Spolsky and Jeff Atwood are starting a new website called Stack Overflow, it’s going to be a free programming Q&A website. I’m a fan of both of those guys (I even have an autographed copy of Joel’s book!), so I signed up to be a beta user to see how it develops. I was [...]

Data is more agile than code

Peter Norvig talks about the need for a startup company to go fast – and also in the right direction – at his Startup School 2008 talk. “Sure you gotta go fast, but if you’re not getting feedback to figure out if you’re going in the right direction it doesn’t matter how fast you go.” [...]

Knuth hates XP

In this recent interview, Donald Knuth says: “Still, I hate to duck your questions even though I also hate to offend other people’s sensibilities—given that software methodology has always been akin to religion. With the caveat that there’s no reason anybody should care about the opinions of a computer scientist/mathematician like me regarding software development, [...]

Understanding C pointers: Part 1

As I said in “Understanding C pointers: Part 0,” I’m going to try to explain how C pointers work. Let’s start with the basics. Here’s some simple C code: int x = 23; int y = x; You can think of each variable as a box which holds the value of that variable. So in [...]

Understanding C pointers: Part 0

“C/C++ Pointers are evil. Ditto direct control of memory via malloc, free, new and delete. Java, C# and other ’safe’ languages are the wave of the future, man!” Even if you shouted a hearty, “Amen, brother!” after reading those sentences, the C/C++ languages can teach you something useful. Understanding how to directly control memory with [...]