Roop says

I created gravity?

Roop says header image 1

Entries Tagged as 'programming'

Why Defensive Programming is Rubbish

October 15th, 2009 · 4 Comments

There are many ways to classify a programming style. One of the classifications I hear a lot at my current place of employment is Defensive Programming. Before I worked here I had noticed the style but I don’t think I had a word to describe the practice. Furthermore, if I had thought about […]

[Read more →]

Filed Under: development · programming · rant · theory

Program to an interface not an Interface

June 28th, 2008 · 8 Comments

For the longest time I have thought I was crazy, because I just didn’t see the benefit of programming to an Interface. I agreed it was good from a design perspective, but as an implementation I saw no need to add the extra code for what amounted to zero benefit. I have finally come to […]

[Read more →]

Filed Under: programming · rant · social · theory

EasyMock Exception when calling createMock

May 22nd, 2008 · 1 Comment

I admit this is probably an obscure error, but I didn’t find anyone else talking about it. So, in an effort to help some other poor sap like me out…
If you receive this error in EasyMock 2.3

java.lang.NoSuchMethodError: org.easymock.internal.RecordState.(Lorg/easymock/internal/IMocksBehavior;)V
at org.easymock.internal.MocksControl.reset(MocksControl.java:62)
at org.easymock.internal.MocksControl.(MocksControl.java:26)
at org.easymock.classextension.internal.MocksClassControl.(MocksClassControl.java:19)
at org.easymock.classextension.EasyMock.createControl(EasyMock.java:108)
at org.easymock.classextension.EasyMock.createMock(EasyMock.java:46)

It is most likely because you have an older version of EasyMock […]

[Read more →]

Filed Under: programming · troubleshoot

What makes a great developer?

May 9th, 2008 · 6 Comments

Passion. I have come to the conclusion that, that simple word is what separates an average developer from a great developer. IQ, education, degree, books, none of that matters, these are all symptoms of passion. A passionate developer will use these tools to find answers and refine his/her craft, so they are […]

[Read more →]

Filed Under: development · programming · rant · software

JRuby, Ruby gem command conflict

April 18th, 2008 · 2 Comments

I would have to assume that there are plenty of developers out there that want to install JRuby and Ruby on the same machine. There is a tragic flaw with this, the gem command is the same for both. If you add both to the path there is no way to distinguish between the […]

[Read more →]

Filed Under: development · languages · programming

The tools we use

February 14th, 2008 · No Comments

A few months ago I made an observation about the software development profession that I simply brushed off as unimportant. Now I still feel it is equally unimportant, but in the spirit of Obi Fernadez’s talk at acts_as_conference I figured I would bring it up.
As I look across many different professions I see one […]

[Read more →]

Filed Under: development · programming · rant · software · workplace

Java is not Statically Typed (right now)

January 26th, 2008 · 4 Comments

What?!?1?!/!? That is right, I said it Java is not statically typed and by proxy is not safer than dynamic languages. Zealots HALT! We can fix this, and I intend to add some gas to the fire that people like Bob Lee over at crazybob.org have started.
So let me start by saying […]

[Read more →]

Filed Under: development · languages · programming · rant · software · theory

Eric Evans Presentation at JAOO

November 21st, 2007 · No Comments

I was clicking through infoq this morning, and came across a presentation by Eric Evans on DDD. Eric wrote the book Domain Driven Design. I have not yet had the pleasure to read this book, but I will be sure to put up a review as soon as I get to it.
I […]

[Read more →]

Filed Under: development · programming · software · theory

When is a Tool not a Tool?

November 12th, 2007 · 4 Comments

A couple weeks ago my colleague Brian LeGros published an article about Object Persistance and Architecture. It was a very good article in his series on design practices, but it made me think about some struggles I have had when working with persistance frameworks.
Before I begin I want to attempt to establish two seperate […]

[Read more →]

Filed Under: development · programming · theory

Flex Frameworks

October 24th, 2007 · 3 Comments

Recently there has been a lot of discussion at my office, and online about whether or not a framework is necessary in Flex. Before revealing my opinion I wanted to go over a few reasons why I believe frameworks are used.
I went to Wikipedia and looked for a list of common features in web application […]

[Read more →]

Filed Under: languages · programming · theory