Author Archives: robertk
Prepping for Java
So you want to write some Java — now what? Tools First you need some tools. Every Java developer is going to have their own preferred tool set, so don’t be upset if my list doesn’t include your favorite. It’s … Continue reading
Thinking about Objects
Last time we looked at cleaning up the global space. We cleaned up the clutter in the global namespace by encapsulating lots of little bits of data into user defined types. But even after doing that, there are times when … Continue reading
Cleaning Up the Globe (als)
Let’s get one thing straight up front: global variables are a bad idea. Yes, there are some exceptions, but for the most part, they’re a bad idea. There are lots of reasons why they’re a bad idea. Here are just … Continue reading
Vague Generalities
In “Programming and Cold Pizza” I talked about the DRY principle and avoiding repeating the same code over and over. That’s a fundamental principle that should always be part of how you write code. Here’s another one. Avoid specific … Continue reading
Programming and Cold Pizza
What self-respecting programmer doesn’t love a good pizza? The melty cheese, the zesty spices, the chewy crust — what’s not to love? Maybe you love it so much that you decide to make your own. You decide that nothing … Continue reading
Hello World!
Hello World seems to be the common example to introduce programming, so maybe it’s appropriate for introducing a programming blog. This blog is about improving code. Depending on where you are on your programming path, some may be old news, … Continue reading
Recent Comments