Today I wrote my first meaningful program in Groovy-
It was a small script to extract some information from a XML
It took me the same time to learn Groovy and code this script- the same time it would have taken me to do it in Java.
The brevity of the program was breathtaking. Few lines of code- [...]
This is one of the most powerful principle of OOP.
The Principle
Simply stated- what this means is- once you are done coding an entity - e.g Class,function etc- you should have no reason to modify it again (…hence closed), but that entity should be available for modification via extensions e.g inheritance or any other smart mechanism [...]
Last night I downloaded and got my first sample program running on grails.
I had been reading about grails for a while- so decided to check on the hype myself
And I was…fairly surprised- pleasantly to see what it had to offer
The time between downloading grails and having it up and running with a small program, not [...]
Recent Comments