Saturday, June 24, 2006

Hello World in Ruby

puts 'Hello World'

And thats it. The interpreter comes to life and prints the famous words on the console.

What is interesting is after I installed Ruby, all I have to do is go to command-line and type the name of the program - Hello.rb in this case - and the program runs.

Not really impressed by SciTe as yet....but already like it better than Eclipse.

But I have so many questions...how do I write comments?...how secure is Ruby?....how do I create web-applications talking to ruby?....and I am just hoping I don't have to write the same amount of code as C or Java.

Another thing I am noticing is there are quite a few Japanese Names all over Ruby. Obviously, as Ruby was created by a Japanese person, this is to be expected. It is sad that we don't see the same amount of Solidarity within Indians. To some extent, this is our undoing.

The good thing is if it was created by a Japenese, then it will have a bigger acceptance in Japan.

Early days....lets see where we go from here.

4 Comments:

At 4:28 pm, Blogger Unknown said...

Hopefully, as we proceed all the questions would be answered. Also, Ruby is very popular in Japan given the fact that it's been around since 1995 and is older than Java. It's only recently after Ruby on Rails framework, that it has caught the fancy of developers around the world.

 
At 10:13 pm, Blogger शंतनू said...

Anything after '#' is a comment. Similar to perl. Don't have idea about multiline comments.

 
At 3:10 am, Blogger Unknown said...

Ashish, a link back to the PuneRuby blog ie. http://punerb.blogspot.com/ would help.

 
At 10:46 pm, Blogger Ashish Kulkarni said...

Just added a link back to http://punerb.blogspot.com/

 

Post a Comment

<< Home