Developer Aspirations

YAPB - Yet Another Programming Blog




April 2011

Inline Objects

by Colin Miller, on Design, Java, Musings, Object Oriented Programming, Reusable Code

I like to be able to test my code in an automated fashion as much as possible. A lot of code is connected to other code, so testing a specific section can be tricky because you end up testing the coupled code as well. This breaks the main idea of unit testing and is one of the reasons that code coupling can lead to harder to maintain code. We solve…



August 2010

Learning notes from a C++ n00b - Part 1

by Colin Miller, on C++, Computer programming, Design, development, Java, Languages, Learning, Object Oriented Programming, Testing

I am primarily a Java developer. My college decided in my sophomore  year to switch from C/C++ to Java for most of the classes. While it did give me a very good foundation in Java development, it created a bit of a gap in my education. While I've done work in C in the past, I haven't had the opportunity to work on a serious project in C or…



June 2010

20 second builds

by Colin Miller, on Build Process, Design, development, Java, Testing

Back in May of 2007, Linus Torvolds did a talk at Google about git. Specifically he tended to reiterate the point on how your workflow changes dramatically when you can perform a merge or get new code from other people in under a second. Merging multiple branches into your own branch without remembering revision numbers and knowing that your history is in tact, being able to view the entire history…



February 2010

Java's flaws: Why Primitives Are Bad

by Colin Miller, on development, Java, Languages, Testing

I use Java every day for the majority of my work. This isn't that uncommon, as Java is one of the most used languages in businesses today. While the language has improved greatly from it's 1.0 release, some of the legacy features still make working with the language very painful. Primary I'm talking about Java primitives. Primitives in Java were one of the features taken from languages such as…