Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Building a Programmer's Rosetta Stone

Journal written by Short Circuit (52384) and posted by CmdrTaco on Sun Jan 21, 2007 10:09 AM
from the still-waiting-for-programmer's-tower-of-babel dept.
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.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • But would you mind if I submitted it to Technocrat?
  • Whatever was keeping me out is either gone or something, but I have access now. Since I am attempting (yet again) to teach myself coding I am very excited about using the site and will be voting you up in the hose;-)
  • Erm... (Score:2)

    by jpellino (202698) on Sunday January 21 2007, @10:12AM (#17702004)
    You're itchin' for a fight with Cupertino, is that it?

    • Re:Erm... by Short Circuit (Score:1) Sunday January 21 2007, @10:42AM
      • Re:Erm... by lexarius (Score:3) Sunday January 21 2007, @11:03AM
        • Re:Erm... by Short Circuit (Score:1) Sunday January 21 2007, @11:21AM
          • Re:Erm... by AndrewNeo (Score:1) Sunday January 21 2007, @11:47AM
          • 1 reply beneath your current threshold.
  • No Fair! (Score:5, Insightful)

    by Watson Ladd (955755) on Sunday January 21 2007, @10:16AM (#17702038)
    A lot of the tasks assume imperative programing, e.x. assigning values to an array. This should be about algorithms that we can all implement, not code fragments that assume a particular style of programing.
  • Here's better (Score:2)

    by Rosco P. Coltrane (209368) on Sunday January 21 2007, @10:18AM (#17702054)
    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?

    There are also programs that can be compiled or run by several different compilers/interpreters: [nyx.net]
  • It may prove useful. (Score:4, Interesting)

    by Z00L00K (682162) on Sunday January 21 2007, @10:22AM (#17702086)
    But as a seasoned programmer I also know that some tasks can't be ported. A more efficient method is to actually resolve the problems at link time since most object files doesn't really care about which language you use. Some tasks are better off in one language than in another and porting the "problem" may prove a herculean task ending up as the major time-consumer for a project.

    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.

    • Re:It may prove useful. (Score:5, Insightful)

      by arevos (659374) on Sunday January 21 2007, @10:38AM (#17702198)
      (http://www.monkeyengines.co.uk/)

      But as a seasoned programmer I also know that some tasks can't be ported. A more efficient method is to actually resolve the problems at link time since most object files doesn't really care about which language you use.
      If you look at the programming tasks [rosettacode.org] the website attempts to translate, you'll notice that they are extremely basic and generic. I don't think the aim of the website is to translate some complex library into another language; rather to provide a learning resource where programmers can see how to map simple tasks from one language to another, which presumably will help them better understand a new language. Remember that the original Rosetta stone was used for a similar purpose.

      This site could be useful, but MediaWiki doesn't seem the best tool to use, and the content so far is rather sparse. I'm uncertain whether this will prove a success; it's an interesting concept, but many interesting concepts have fallen by the wayside.
      [ Parent ]
      • Re:It may prove useful. by mrchaotica (Score:2) Sunday January 21 2007, @02:50PM
        • Re:It may prove useful. (Score:5, Insightful)

          by arevos (659374) on Sunday January 21 2007, @04:36PM (#17704926)
          (http://www.monkeyengines.co.uk/)

          Just out of curiosity, why not? And what would you suggest instead?
          A Wiki is essentially just an editable website. It must be manually ordered; tables of contents put in, pages linked to other pages, and so forth. This is find for data that has a very general structure, such as an encyclopaedia or a manual of some kind. But the Rosetta Stone concept is highly structured, cross-referencing programming languages with programming problems, and it seems to me as if this cross-referencing would be better done automatically, rather than making several Wiki pages and maintaining them manually. The site concept would be better suited to some sort of customised CMS, or perhaps something designed from scratch.
          [ Parent ]
    • Re:It may prove useful. by Reverend528 (Score:2) Sunday January 21 2007, @06:11PM
    • Re:It may prove useful. by Raffaello (Score:3) Sunday January 21 2007, @05:10PM
    • Re:It may prove useful. by maxwell demon (Score:1) Sunday January 21 2007, @07:14PM
    • Re:It may prove useful. by maxwell demon (Score:2) Sunday January 21 2007, @07:17PM
    • 3 replies beneath your current threshold.
  • Usage (Score:5, Insightful)

    by mgiuca (1040724) on Sunday January 21 2007, @10:24AM (#17702094)
    I'm not sure the right idea is to "know how to do something" in a particular language. If programmers are encouraged to learn algorithms specific to a particular language, how will they ever adapt once their pet language sinks? (By using an algorithm repository to re-learn rote code?)

    At any rate, I think this site has already encountered a problem which is only going to escalate as it grows: code isn't cross-indexed properly at all. For example, there are many "programming tasks" with solutions in C, but there is nothing on the C page. I think this problem stems from the fact they used MediaWiki.

    MediaWiki's great for something like... well, Wikipedia. But it doesn't support a cross-referenced database like this. The wiki concept is good for this site, but the server needs to be running some software designed better to the task.
    • Re:Usage by Short Circuit (Score:3) Sunday January 21 2007, @11:16AM
      • Re:Usage by lordmatthias215 (Score:1) Sunday January 21 2007, @06:28PM
        • Re:Usage by Short Circuit (Score:1) Sunday January 21 2007, @07:44PM
      • Re:Usage by mgiuca (Score:1) Sunday January 21 2007, @10:06PM
        • Re:Usage by Short Circuit (Score:1) Wednesday January 24 2007, @05:53PM
          • Re:Usage by mgiuca (Score:1) Thursday January 25 2007, @09:40AM
            • Re:Usage by Short Circuit (Score:1) Thursday January 25 2007, @09:55AM
    • Re:Usage (Score:4, Insightful)

      by cp.tar (871488) <cp.tar.bz2@gmail.com> on Sunday January 21 2007, @11:25AM (#17702524)
      I'm not sure the right idea is to "know how to do something" in a particular language. If programmers are encouraged to learn algorithms specific to a particular language, how will they ever adapt once their pet language sinks? (By using an algorithm repository to re-learn rote code?)

      But this kind of thing should be very good for someone learning a new language - you know how to do it in one language, now you're looking it up in another one... like learning the most common phrases first when learning a natural language.

      I hope this project will amount to something; it can be really useful.

      [ Parent ]
      • Re:Usage by raphae (Score:1) Sunday January 21 2007, @07:02PM
    • Re:Usage by garo5 (Score:1) Sunday January 21 2007, @02:14PM
      • Re:Usage by Oligonicella (Score:2) Sunday January 21 2007, @05:33PM
      • Re:Usage by Short Circuit (Score:1) Sunday January 21 2007, @08:38PM
      • 2 replies beneath your current threshold.
  • if you like this... (Score:4, Informative)

    by taybin (622573) <taybin AT taybin DOT com> on Sunday January 21 2007, @10:24AM (#17702096)
    (http://www.taybin.com/)
    Also check out 99 bottles of beer [99-bottles-of-beer.net] and Hello World Collection [roesler-ac.de].
    • Re:if you like this... by mgiuca (Score:2) Sunday January 21 2007, @10:30AM
    • Re:if you like this... (Score:4, Informative)

      by Coryoth (254751) on Sunday January 21 2007, @12:32PM (#17703038)
      (http://jedidiah.stuff.gen.nz/wp/ | Last Journal: Wednesday April 04 2007, @02:51PM)
      Also worth looking into is LiteratePrograms [literateprograms.org] which provides a wide range of algorithms written (and documented - hence the "literate" part) in a wide variety of languages. Currently there are over 50 different "Hello World" programs in different languages, including such things as AliceML, AspectJ, Haskell, and Oz, as well as all the usual suspects. More to the point, it also includes a decent variety of more interesting algorithms, including basic sorting algorithms (quick sort, merge sort etc.) in a wide variety of languages, right the way up to a basic GUI file manager in GTK. It's a Wiki, and still growing, but it seems to be well ahead of RosettaCode at the moment.
      [ Parent ]
    • Re:if you like this... by Dan East (Score:3) Sunday January 21 2007, @12:52PM
    • Re:if you like this... by huckda (Score:1) Sunday January 21 2007, @06:41PM
    • Re:if you like this... by Short Circuit (Score:1) Wednesday January 24 2007, @06:46PM
    • 2 replies beneath your current threshold.
  • One task that isn't on there (Score:5, Funny)

    by antifoidulus (807088) on Sunday January 21 2007, @10:24AM (#17702098)
    (http://slashdot.org???? | Last Journal: Saturday August 12 2006, @03:06AM)
    "How to bring a hooker back to life" Damn, I really neede....I mean, was interested in how you would do it in Perl, for curiosity's sake....
  • Should I be impressed? (Score:4, Insightful)

    by Fulkkari (603331) on Sunday January 21 2007, @10:28AM (#17702130)

    The site has absolutely no real content. There are only a couple of pages on the whole site. The most advanced thing found there is something along the lines of how to open a file with mIRC scripting [rosettacode.org] (no C/C++/Java) and that bash scripts (usually) start with #!/bin/bash [rosettacode.org]. Oh, please. Should I be impressed?

  • It's already been done. Planet Source Code [planetsourcecode.com] does this already, and it's been around for ages. You can find code examples and complete projects.

    Then for projects in the .NET set there are a number of online translators that do C#VB.NET. Very good for moving code between different types of projects.

    Now, something that would be truely useful would be a service that would do translations from a wider variety languages.

    • Re:Been Done by Inferger (Score:2) Sunday January 21 2007, @10:57AM
    • Re:Been Done (Score:4, Informative)

      Planet Source Code is not that hot. There's heaps of trivial examples that just aren't done very well - like a "new" PHP4-style class for connecting to MySQL which hard-codes "localhost" for the server name. I guess the guy hasn't heard of mysqli [php.net]?

      The quality of the writing itself is pretty bad, too. People who are purporting to teach you something ought to be a bit more... well... literate.

      Neither am I inclined to be overly impressed when a site throws 175+ JavaScript and CSS errors in Firefox in just the first 2-3 pages. (I didn't bother counting the errors after that point.)
      [ Parent ]
    • Re:Been Done by jomama717 (Score:1) Sunday January 21 2007, @12:03PM
    • Re:Been Done by Short Circuit (Score:1) Sunday January 21 2007, @12:11PM
    • Re:Been Done by HeroreV (Score:1) Sunday January 21 2007, @07:23PM
      • Re:Been Done by WED Fan (Score:1) Sunday January 21 2007, @09:25PM
        • Re:Been Done by HeroreV (Score:1) Monday January 22 2007, @07:12PM
  • Don't see much use (Score:1)

    by kalpaha (667921) <kalpaha@NoSPAM.gmail.com> on Sunday January 21 2007, @11:04AM (#17702354)

    Any piece of code for which you can do a literal enough translation that looking at the mapping would help you, is trivial anyway. Any larger piece of Haskell would probably take huge amount of, say C, and the translation wouldn't make it one bit easier to understand.

    The only help the service will be is for beginning programmers who need to learn the syntax, but really, how long does learning a language's syntax take anyway?
  • by hugg (22953) on Sunday January 21 2007, @11:13AM (#17702410)
    (http://omnipelagos.com/)
    I was looking for some code to help me load-balance a busy server that was just posted on Slashdot ... all I found was code for this old Applesoft BASIC wiki server.
  • New? (Score:2, Interesting)

    by d34d.10n (924456) on Sunday January 21 2007, @11:13AM (#17702414)
    Although the idea seems nice, it still has a long way to go. The site currently only contains a few mIRC and bash scripts.

    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:New? by Short Circuit (Score:1) Sunday January 21 2007, @11:45AM
  • by hackershandbook (963811) on Sunday January 21 2007, @11:15AM (#17702434)
    Strikes me that the "Rosetta Stone" should concentrate on algorithms and not religious solutions ... "99 Bottles" is good because it allows so many variants on a simple task .. a little like a "meta-hello-world" ...

    How may ways do *you* know to solve the "Hello World" problem?
  • by RAMMS+EIN (578166) on Sunday January 21 2007, @11:40AM (#17702642)
    (http://inglorion.net/ | Last Journal: Thursday October 06 2005, @07:17AM)
    I've been working on something like this for a while. Basically, the idea was to represent common tasks in various programming languages. The tasks are things like performing some operation on every element of a sequence, doing file I/O, defining recursive functions, etc.

    Some of what I made is up on http://inglorion.net/documents/plcomparison/ [inglorion.net]. Eventually, I got tired of writing the C and Java programs. On my home machine, I have some more examples; like an implementation of the filter (AKA delete-if-not) function, a math formula internal-representation-to-text translator, and a TCP echo server, but I still have to write some of the programs, as well as the documentation for these.

    Anyway, just thought I should share. :-)
  • maintainability (Score:1)

    by Crusty Cracker (824806) on Sunday January 21 2007, @11:59AM (#17702790)
    This may be all fine and well for writing a program, but what about maintaining the code... for anyone else trying to do anything with the code, it would be a huge headache... especially once the original programmer left. Completely unmanageable for projects of any decent size.
  • by mrjb (547783) on Sunday January 21 2007, @12:03PM (#17702828)
    Nice idea, some concepts (string functions, (associative) arrays, file I/O) may be portable across some languages and in these cases rosettacode will be useful.

    But I think the actual problem is not given due value. Sometimes performing the same task in the same language requires different code on different platforms. Examples: Reading a file bigger than 4 Gigabyte in gnu-flavored C++ on mac, linux, windows; figuring out the total number of sectors on disk, etc.

    Also, we should accept that not all languages can do everything. Try creating an array of functions in VBA. Or (also in VBA) even simply breaking out of a loop, for that matter. Try exceptions in ANSI pascal or ANSI C. Try using pointers in Java. Try writing a GUI windowed interface in ANSI Pascal (no, Turbo Pascal doesn't count). Try recursion in GWBasic (this is actually possible).

    I see this ending up as an effort to shoehorn concepts unique to one language to another language (building web sites in COBOL *shiver*). Rather than using the wrong tool, it will pay off to actually learn the other language.
    • Re:Right tool for the job (Score:5, Interesting)

      by Frumious Wombat (845680) on Sunday January 21 2007, @12:26PM (#17703004)
      Years ago my copy of Kruse's "Data Structures" came with examples of how to do all the then-hip dynamic data structures (linked lists, trees, etc) in languages without pointers. This became useful when writing high-level Fortran-77 programs, as it allowed moving beyond Gomputed Goto and Arithmetic If for algorithms. In the same vein "Numerical Algorithms" (Teukolsky, Vettering, et al.) showed how to get decent array performance and add various oversights (such as complex numbers and complex arithmetic) to C-type languages.

      >>>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),
      [ Parent ]
    • Re:Right tool for the job by Short Circuit (Score:2) Sunday January 21 2007, @12:55PM
    • Re:Right tool for the job by Tablizer (Score:1) Sunday January 21 2007, @01:32PM
  • In a more focused form (Score:4, Informative)

    by aero6dof (415422) <aero6dof@yahoo.com> on Sunday January 21 2007, @12:06PM (#17702858)
    (http://slashdot.org/)
    Sourceforge has hosted to Programming Language Examples Alike Cookbook project for a while now. It does something similar, filling out "Perl Cookbook" recipes for a fairly wide range of languages...

    http://pleac.sourceforge.net/ [sourceforge.net]
  • by Anonymous Coward on Sunday January 21 2007, @12:53PM (#17703218)
    We are always reinventing the wheel, recreating frameworks and libraries from codesnippets. software has failed, if it succeeded then we could just "connect" together from a library of existing "components" / "objects" but no, we have too much fucking ego so we have to always "create" something, must create must create, how about no? Just "BUILD"!

    Are you really afraid to accept that software is a BLUE COLLAR job today? I think that is why we MUST (re)CREATE something every fucking time.

    It is like an arms race, proliferation of code.

    Implement it once and reuse it many times. Yes I know it is the holy grail but this is not a TECHNICAL problem, it is more of a POLITICAL problem. This is why software will continue to suck. /Rant
  • by YGingras (605709) <ygingras@ygingras.net> on Sunday January 21 2007, @12:58PM (#17703262)
    (http://ygingras.net/)
    I didn't look at the site (/. effect) but the Shootout [debian.org] sounds like a good place to get a list of tasks implemented in several languages. You even get arbitrary, but still usefull, metrics like the line-of-code count, run time and memory usage. If someone has time to waste coding trivial tasks in his favorite language, he should contribute to the shootout. I did and I must admit I got a kick when a few well placed suggestions cranked the performance of my entry [debian.org]. Today Common Lisp is faster than Pascal and OCaml, tomorrow we beat Fortran and C++!
  • http://code.icarusindie.com/ [icarusindie.com]

    The tutorials there show how to do software rendering in Javascript, PHP, C++ and Java. In Javascript, C++ and Java it gets into advanced raycasting. All three languages have a wolf3d clone.
  • I called it ScriptNexus: http://www.scriptnexus.com [scriptnexus.com]
    I wanted it to literally do things in "real-time" too.
    My mind wandered though, so I mostly use it to do .htaccess files [scriptnexus.com] and write quick proposals [scriptnexus.com] from time to time. It's still a feasible idea though. Someday...
    HELLO WORLD examples (you can use the drop-down menu to change languages):
    http://www.scriptnexus.com/code/all/hello/text [scriptnexus.com]
  • by aldheorte (162967) on Sunday January 21 2007, @02:05PM (#17703784)
    Once you get beyond syntax you start delving deep into the particular style of a language, which frustrates attempts to compare. A very good 'Rosetta stone' for programming languages already exists:

    http://merd.sourceforge.net/pixel/language-study/s yntax-across-languages/ [sourceforge.net]
  • But... (Score:3, Insightful)

    by Brandybuck (704397) on Sunday January 21 2007, @02:06PM (#17703800)
    (http://www.usermode.org/ | Last Journal: Tuesday April 17 2007, @09:13PM)
    But all Real Programmers know all languages! At least that's what Slashdot keeps telling me...

    AC: Stupid article, the guy could have used Haskell and solved his problems
    BB: But maybe he didn't know Haskell?
    AC: Then he deserves get fired!
    • Re:But... by arevos (Score:2) Sunday January 21 2007, @04:58PM
      • Re:But... by Brandybuck (Score:2) Monday January 22 2007, @02:33AM
        • Re:But... by arevos (Score:3) Monday January 22 2007, @05:32AM
  • Nice idea, but (Score:1)

    by Axello (587958) on Sunday January 21 2007, @02:21PM (#17703932)
    It's a nice idea, but I wonder if a wiki is the right way to go about it. I was toying with the ideas years ago, to have a table for many similar constructs in various procedural languages. e.g, how to do a print, while loop, for loop, if-then-else statement in various languages. With examples of their use.

    For example:
    for loop
    C:
    for ([var] = [startvalue] ; [var] < [endvalue] ; [var]+= [incrementvalue]) {
    statements
    }

    Fortran:
    DO [var] = [startvalue], [endvalue], [incrementvalue]
    statements
    continue

    Perl:
    for ([var] = [startvalue] ; [var] < [endvalue] ; [var]+= [incrementvalue]) {
    statements
    }

    Korn shell:
    The for-loop in the shell iterates over lines in a list or file. It can be simulated using a while loop:
    [var] = [startvalue]
    while test [var] < [endvalue]
    do
    statements
    [var]=`expr [var] + [incrementvalue]`
    done

    Since some languages have the same token for different tasks, you would need cross-references in various positions. E.g. in perl:
    for (i=0 ; i<n ; i++) or
    for $var (@array), this would translate to foreach in other languages

    The way I picture it, is a mainmenu where you select the languages you want to compare. Then you get a list of the statements side by side. Or you can search for a particular token.

    Does anyone know if such a site exists?
  • Forbidden

    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    So much for THAT idea...courtesy of /.
  • While you wait (Score:2, Informative)

    for the site to come back, you can use this [wikibooks.org].
  • PHP at its finest (Score:1)

    by sproketboy (608031) on Sunday January 21 2007, @09:42PM (#17707090)
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mike/public_html/includes/Exception.php on line 139
  • Akima's infamous spline? (Score:3, Interesting)

    by the_greywolf (311406) on Monday January 22 2007, @03:13AM (#17708546)
    (http://the-junkyard.net/)

    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?"

  • PLEAC (Score:2, Informative)

    by meiao (846890) on Monday January 22 2007, @06:47AM (#17709198)
    (http://meiao.multiply.com/)
    There is the PLEAC (Programming Language Examples Alike Cookbook) which uses (or should use) the same examples for many programming languages.

    Many languages are close to complete the provided examples.
    • Re:PLEAC by Short Circuit (Score:1) Wednesday January 24 2007, @06:59PM
  • by Miamicanes (730264) on Monday January 22 2007, @09:20AM (#17709914)
    I read somewhere that Microsoft actually has an internal version of SourceSafe that does, in fact, attempt to treat VB.net and C# as two different presentation layers of the same underlying code, and allows you to work on a file using whichever of the two languages you prefer. In other words, two developers can check out the "same" code from the repository -- one, as VB.net, the other, as C#. If #1 commits changes, VSS semi-compiles it to intermediate code and treats the VB.net code as nothing more than a presentation layer. When #2 updates his copy, it decompiles the code on the server to C# and updates HIS copy.

    Unfortunately, Microsoft discovered that it's a lot easier to describe on paper than do in real-life, because the devil's in the details. Apparently, the system had to make changes to code at commit time (officially, things like formatting), and those changes botched things up *just* enough to destroy its users' confidence in the system (in reality, it unnerved developers 99% of the time, and really screwed something up about .1%, but the combo was lethal anyway). That, and the fact that VSS is kind of brittle to begin with & likely to be replaced by something else as soon as Microsoft can figure out what to replace it with...
  • This idea makes sense, (even if the site sounds like it's empty and poorly designed), but only if you are comparing similar languages. For web scripting, I learned PERL first, and recently made the switch over to PHP for most of my new website stuff. Due to the old stuff still needing periodic work, I'm constantly going back and forth between the languages, and a cheat sheet showing me the syntax diffrences and basic fundamentals is invaluable for me.

    Even if this site was fully fleshed out, you would still never get past the initial learning curve of a new language with just a list of ways to do all the particular tasks. It would be useful while learning it, but you still have to learn the new language.
  • While I haven't been able to take a look at the Rosetta Stone project, it seems like it might be similar in spirit to the Code Codex [codecodex.com].
    • Re:CodeCodex by Short Circuit (Score:1) Monday January 22 2007, @11:46AM
    • Re:CodeCodex by Short Circuit (Score:1) Wednesday January 24 2007, @07:03PM
  • Already done (Score:1)

    by dewolfe001 (1056964) on Sunday January 28 2007, @11:33PM (#17795544)
    I did a simple look-up of one of these waay back when: http://mike.dewolfe.bc.ca/rosettastone.asp [dewolfe.bc.ca]
    • Re:Already done by Short Circuit (Score:1) Monday January 29 2007, @08:18AM
  • by $RANDOMLUSER (804576) on Sunday January 21 2007, @10:43AM (#17702228)
    > to having a psuedocode compiler!

    And what standard for psuedocode are we going to use? I once worked for an old-fart IMB 360 assembly language programmer turned CTO, and for a while he had us (I'm not making this up) using a program that used a psuedocodish language to produce flowcharts, which could then be used to document programs written in a 4gl (Progress). He did not see the irony or humor in this.
    [ Parent ]
  • Re:minus 4, T8oll) (Score:2, Informative)

    by Short Circuit (52384) * <mikemol@gmail.com> on Sunday January 21 2007, @11:03AM (#17702350)
    (http://shortcircuit.us/ | Last Journal: Sunday October 14, @02:01AM)
    I had to get it started. My hope is that other people will contribute with languages (and tasks) that they know.
    [ Parent ]
  • Re:Not a Bad Idea (Score:1)

    by Short Circuit (52384) * <mikemol@gmail.com> on Sunday January 21 2007, @12:48PM (#17703172)
    (http://shortcircuit.us/ | Last Journal: Sunday October 14, @02:01AM)
    Knowing how things are done in one language and seeing how they're done in other languages, gives you a perspective on those other languages. You can see how some other languages are similar to ones you already know, or you can see how totally messed up some languages are.

    Aside from that, I hope to have a programming encyclopedia grow around all of the incidental links. (Each programming example links to a local wiki page about each of the software tools used, be they compiler, interpreter, library or platform.)
    [ Parent ]
  • by Dunbal (464142) on Sunday January 21 2007, @02:19PM (#17703910)
    I like this site! The following page comes up when I try to access the site

    It's called The Slashdot Effect [wikipedia.org], and it happens from time to time. Try again later.
    [ Parent ]
  • You get a 404? I get only a 403! That's unfair! :-)
    [ Parent ]
  • Re:Towers of Hanoi (Score:1)

    by Short Circuit (52384) * <mikemol@gmail.com> on Wednesday January 24 2007, @07:06PM (#17745704)
    (http://shortcircuit.us/ | Last Journal: Sunday October 14, @02:01AM)
    I created a page that lists all the similar sites [rosettacode.org] that Slashdot users mentioned in their replies.
    [ Parent ]
  • 11 replies beneath your current threshold.