Developer Aspirations

YAPB - Yet Another Programming Blog

Object Oriented Programming



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…



February 2011

Succinct Code

by Colin Miller, on development, elegance, Object Oriented Programming, Reusable Code

This has been talked about in quite a few places and in a variety of ways. Most recently I was reading an article on PragPub about abstraction that caused me to pause and think about how I write methods. I've always had a set of best practices, but I think I can add another to it based on some information in that article. [caption id="attachment_387" align="aligncenter" width=…



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…



December 2009

Reusable Javascript: Write your own libraries

by Colin Miller, on JavaScript, Object Oriented Programming, Reusable Code

JavaScript is such an interesting language in that it is both extremely popular and hated at the same time. It is the most used programming language in the world, thanks to its inherent involvement in web programming. It is the sauce behind AJAX, and creates the dynamic aspect of dynamic web pages. It's easy to pick up and write, requiring no compiler and running on any system that has a…