Building a Programmer's Rosetta Stone 215
Did you ever run into the problem where you knew how to do something in one programming language, but really needed to do it in another? That's what Rosetta Code is all about. A variety of programming tasks are solved using as many languages as possible. You can examine existing tasks, or create your own.
Re:Here's better (Score:4, Interesting)
It may prove useful. (Score:4, Interesting)
Of course there are also cases when you will need to port the solution to a different language. This may be the cause when the project specifications requires a specific language like Ada.
As with all programming; your mileage may vary.
New? (Score:2, Interesting)
Anyway, I'm looking forward to when it's filled with code from different languages.
PS: an applet or an IDE plug-in like those from Koders [koders.com] would be really cool.
Re:Right tool for the job (Score:5, Interesting)
>>>I see this ending up as an effort to shoehorn concepts unique to one language to another language (building web sites in COBOL *shiver*).
I once saw a series of cgi-bin routines written in Fortran-77 because that's what the web-site designer knew, and the schedule was too tight for her to learn Perl in time. (for those of you who started programming after compiled languages gave way to Python/Perl/Ruby/WombatCode6000, get a copy of G77, and try to compare two strings of different lengths) It's no big deal; given enough time one Turing-complete language can accomplish the same work as any other Turing-complete language. It's just the degree of pain you're willing to endure that's the limiting factor.
As for the F77/cgi-bin programmer, She's a full professor now (though not in Comp. Sci, alas),
LiteratePrograms (Score:2, Interesting)
As one who has worked on a couple of multi-language problem sets (SICP in other programming languages [codepoetics.com] and OO Shapes [angelfire.com]), I can appreciate the amount of work it takes. We can always use more sites that teach programming in various unique fashions.
Re:if you like this... (Score:3, Interesting)
However the real nail in the coffin is that the fundamental algorithm used to generate the song varies widely from one language to another, thus no real comparison between languages is possible.
Dan East
Re:Right tool for the job (Score:2, Interesting)
I would expect to see an eventual segregation between things like database tasks and web development tasks. I simply haven't known enough about programming to collect the requisite data myself.
Re:No Fair! (Score:1, Interesting)
Re:I don't know about firehosing it (Score:3, Interesting)
And in the 2000's, it's well on the way to triumphing over common sense... with apologies to the author.
Akima's infamous spline? (Score:3, Interesting)
That's one thing I want to see rewritten in several different languages.
Just so I can make sense of the damn thing and I won't look at my call to ITPLBV() and wonder, "What the fuck does THAT do?"