The blog of Rahoul Baruah from 3hv Ltd

What's going on?

My name is Rahoul Baruah (aka Baz) and I'm a software developer in Leeds (England).

This is a log of things I've discovered while writing software in Ruby on Rails. In other words, geek stuff.

However, I've decided to put this blog on ice - I would ask you to check out my business blog here (or subscribe here).

17 April, 2006

Looks good, smells even better

Java:

dave.hit(nail, hammer, com.something.hittingthings.Force.REALLY_HARD);


RoR:
dave.hit(nail, :with => hammer, :force => :really_hard)


Smalltalk:
dave hit: theNail with: aHammer andForce: #ReallyHard.

No comments:

eXTReMe Tracker