From time to time I encounter openly discoverable code that is so wild in nature that I can’t help but wonder if the author was writing a machine function or a satirical statement. Groovy source: ArrayUtil.java After spending a few days plowing through Java code at the outset of a new Android project I found […]
Tag: Java
Mental Overhead
I haven’t had any reason to write assembly by hand for quite a while, but the other day a deep hardware geek friend of mine asked for an opinion on an instruction set for an architecture he is working on — and of course that means using his assembly instructions directly. I had forgotten what […]
Keyboards, Machine Guns, and Other Daily Tools
I’ve got an annoying issue on my mind: keyboard layouts. This is brought on by the recurring need for me to travel to places where two different keyboard layouts are common and other programmers look at you funny if you have to glance down to make sure whether you’re hitting ‘@’ or ‘`’ or ‘”‘ […]
Don’t Get Class Happy
If you find yourself writing a class and you can’t explain the difference between the class and an instance of that class, just stop. You should be writing a function. This antipattern — needless classes everywhere, for everything — is driving me crazy. Lately I see it in Python and Ruby a good bit, where […]
Language Preachers: A Language’s Worst Enemy
Nothing crushes a language’s chance at becoming popular like the activities of its political and religious agitators. It doesn’t matter if the situation of the language is that its on the rise, on the decline or on the rebound. Language preachers suck, always. The only chance a language has for a successful PR campaign is […]