[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Reason #642 to use Ruby instead of C++ -Carpal Tunnel Syndrome

Tom Copeland

11/17/2003 3:51:00 AM

> That's just 10 lines. I won't post the C++ abomination for accomplishing
> the same thing here, let's just say that it's 45 lines long.

In a similar vein, check out:

http://ai-app-prog.ruby...

where I'm translating AI code examples from C to Ruby. As you say, lots of
C code just goes away and gets replaced with one liners involved
Array.collect and the like. Pretty cool!

Yours,

Tom