I needed some filler material for my lectures on concurrency. I googled around for Java concurrency pitfalls and came up with a nice mixture of golden oldies and new ones (at least new to me). I cleaned them up and translated them into Scala because that's what we use in the course. Here they are, for your puzzling pleasure.
In this blog, I describe how the Racket language provides fun graphics and a nifty web framework. The former is great for beginning students, and the latter is helpful for grasping the mind-bending concept of continuations. ♦
In this blog, I address my grief with blog uploading, following Paul Graham's advice about choosing technology. ♦
In this blog, I ponder why Ruby and Scala are easy to learn and complex to master, and how their cultures differ. ♦
In 1995, I got a call from Gary Cornell who told me that we were going to write a Java book. That surprised me—I didn't know any Java, and I was pretty sure that Gary didn't know it either. But Gary knew that Java would be big. So we set out to write, as fast as we could, the first Java book that showed how to write real code.
I have students running Windows, Linux, and Mac OS X, and I like to encourage students to choose whatever platform makes them most productive. But I also like to be able to give out one set of instructions, grading scripts, etc. to everyone. Fortunately, bash is available everywhere, even on Windows, in the form of Cygwin.
When the time comes for my graduate students to write their project reports, I give them a long checklist of do's and don'ts. One of the more vexing issues is the code font. I am astonished how many people who have been programming for years are unaware that computer code is usually presented in a
monospaced font, like this.
When Oracle, in its Android lawsuit, accused Google of copyright violation, I didn't think this was going to stick. I was pretty surprised when the
PolicyNodeImpl comparison made its rounds a couple of weeks ago.
I ran into this blog about making a pretty drawing in C# and F#.
The task is to draw all lines between n evenly spaced points on a circle.