From: Michael Neumann Date: 2001-04-23T18:02:41+09:00 Subject: [ruby-talk:14067] Re: Rosetta Code Marko Schulz wrote: > On Mon, Apr 23, 2001 at 03:44:46PM +0900, Eric Bennett wrote: > > > > Speaking of which, is there a "Rosetta Stone" which has example code > > written in several languages? Ruby / Perl / Python / Smalltalk / C / C++ > > / Java / etc... This would go a long way to hush the religous fights > > about clarity - by showing each language at it's best. > > It would be hard to choose code which doesn't benifit a language too > much, yet still shows the strengths of each one. > > The code which got implemented in most languages is probably the one > printing 'Hello World'. You find examples for a lot languages on > http://www.latech.edu/~acm/HelloWorld.shtml (not including ruby yet) > or http://c2.com/cgi-bin/wiki?HelloWorld (less, but including ruby). I have a similar page with more than 100 languages (without dialects). There is often more than one example in each language, so you can compare "better" than if you see only a "Hello World" program. Further examples are always welcome! Regards Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de