News for hackers. Stuff that matters.
Re:C++ has become a scripting language by hamidr on Wednesday October 16, 2013 @08:25AM (#6559210)
The thing is in ruby you are already in main method so there's no need to declare main function as an entry point. The main reason that the c++ version the code is longer has some historical/performance related issues! In c++11 it could've been with smaller standard library at design but that could break the old codes! Although obviously, "Little code =! Better code". What you want to achieve is actually more important. Btw, C++ as a scripting language? at first you might think that way but truly that's a big lie :)
Re:C++ has become a scripting language by danmaz74 on Wednesday October 16, 2013 @08:31AM (#6559233)
I'm not arguing with that ;)

BTW, I would never use Ruby for anything that needs performance, but for ease of use and readability it's really great.