Changing_Codes

Quick Profile

Alex Ooi Profile Picture
Hometown: Melbourne, Australia
Specializations: Java, Ruby on Rails
University: Software Engineering & Economics, Melbourne University
High School: VCE, Melbourne High School
Links:
 

Popular Articles

Thursday, August 19, 2010

I was just browsing some Ruby and Rails resources and came across this gem of a site.

Without a hint of sarcasm it was fascinating reading .... up till about half way down the page before it completely lost me in riddle ... Ruby is an amazing language. One that, syntactically wise, is orders of magnitudes more complex than Java. But seriously, do we really need that level of complexity to write business apps?!?! Usually the most important parts of most software projects revolve around good design, use of frameworks, good test coverage, etc.... not necessarily how complex or succinct you can code Ruby

Without getting into the complexity of Ruby I do find that, at the very simplest level, I constantly have to keep reminding myself of what "types" each variable within my scope is ... i can literally feel my brain doing gymnastics during the day :P it usually goes:

"variable a is a String, variable b is an integer, 
variable C is of that Class, variable d is a Hash ... 
um, what was variable a again?!?!"

yeh... obviously i am still in Java mode. Gimme a break. I've been doing it pretty full for the last 2 years ... it sure is very different to be programming in a language that doesn't have any form of type safety

Get over it already!

Yeh, i should. Anyway, if anything it shows that I have a heck of a long way to go when it comes to Ruby. I don't think one can ever get bored coding in this language ... it certainly keeps you on your toes all the time ...

Comments ...

The best language I've seen is Haskell. You're are writing a mathematical proof as you go along. If you have bad set of proofs, shit doesn't compile.
So when you manage to properly compile with Haskell, you can be sure that you don't have syntactical bugs.
Posted by tester on Thursday, August 19, 2010 at 10:07 PM
@Tester - you must be kidding, Haskell is a different programming paradigm altogether - good for developing logical thinking, not good for much else.
Posted by Alex on Friday, August 20, 2010 at 01:32 PM
errr, yeh ... i have to agree that Haskell is more useful in academia then anywhere else ...
Posted by Alex Ooi on Friday, August 20, 2010 at 02:05 PM
@Alex & @Alex gay twin

No I am not kidding.
What does being a different programming paradigm has anything to do with being a good language?
What do you also mean by "good for developing logical thinking"?
Are you saying that you aren't doing logical thinking when you are developing? More like experimenting?

As for being only for academia: http://www.haskell.org/haskellwiki/Applications_and_libraries

I think most people find different programming paradigm, confronting.
Posted by tester on Friday, August 20, 2010 at 07:39 PM
to @Tester. Good luck in writing business logic in haskell.
Posted by Ultimate Bat Pig Bat Pig on Thursday, September 23, 2010 at 12:27 AM

Add a Comment

*
*
You must answer the following simple maths question before your comment will be accepted.
*