An Applied Programming Instructor Commentates an Algorithms Class, Pt. 2
Reading Time: 10 minutes The title basically captures it: I’m walking through a videotaped algorithms class and recording my observations as a teacher of applied programming classes. Here’s the whole...
View ArticleIntroduction to the Roc Compiler
Reading Time: 3 minutes I’ve written from time to time about compilers on this blog. I started reading Bob Nystrom’s Crafting Interpreters (and writing about it for you) two years ago, and this year I...
View ArticleThe Hard Thing About Nested Scopes: Tracking State in an Interpreter
Reading Time: 9 minutes I’m working my way through Crafting Interpreters. The project guides programmers through building their own interpreters for the Lox programming language. I started writing a...
View ArticleEmulating Objects in Functionally-Oriented Languages (The Real Midwives of...
Reading Time: 11 minutes I’m working my way through Crafting Interpreters. The project guides programmers through building their own interpreters for the Lox programming language. I started writing a...
View ArticleAdding Error Productions to the Lox Compiler
Reading Time: 11 minutes I’m working my way through Crafting Interpreters. The project guides programmers through building their own interpreters for the Lox programming language. I started writing a...
View ArticleImplementing a Shortest Path Program from Scratch
Reading Time: 25 minutes Suppose you have a board that looks something like this: Your job is to find the shortest path from the start (‘S’) to the end (‘E’). You are allowed to step on any spot with a...
View ArticleWhy Compilers Don’t Autocorrect “Obvious” Parse Errors
Reading Time: 7 minutes Last month, someone on Twitter relayed a conversation with their 8 year old daughter, who is learning Python. The kid wants to know “If the computer knows I’m missing a...
View ArticleWhat it Takes to Make a Language “Object-Oriented” (or at least object-literate)
Reading Time: 11 minutes I’m working my way through Crafting Interpreters. The project guides programmers through building their own interpreters for the Lox programming language. I started writing a...
View ArticleOn Code Coverage Tools
Reading Time: 8 minutes The other day, someone on Mastodon asked about my thoughts on code coverage tools. This isn’t a topic I have discussed directly on the blog before, so I thought I’d share a post...
View ArticleTesting: A Heuristic Hunting Conversation with Rebecca Wirfs-Brock
Reading Time: 12 minutes A few weeks ago, someone on Mastodon asked a question about code coverage tools. I answered in a tootstream (gosh, we sound ridiculous when we talk about what we did on the...
View Article