Slashdot Mirror


Cobol Isn't Dead

YellowYahoo writes "Ever wondered how to combine old and new technology for fun and profit? Doing their part to continue COBOL's dominance of installed software, Deskware has developed a COBOL based scripting language designed for serving web pages. Whether or not COBOL will succeed as the next great web language, is obvously up to some debate, but there is at least one active site deployed in Cobolscript. According to their FAQ, their main advantage is leveraging existing employees' programming knowledge. Does that make it a reasonable language to use? There's certainly some justification that COBOL makes a better langauge for implementing business rules than either Perl or Java. Time to dust off (or start learning?) all those older languages!"

14 of 41 comments (clear)

  1. Make a request. by Hulver · · Score: 4, Funny

    Your job will run overnight, and they'll email you the web page in the morning.

    1. Re:Make a request. by the+eric+conspiracy · · Score: 2, Funny

      they'll email you the web page in the morning ... printed by a line printer on greenbar paper, graphics rendered in ASCII.

  2. One active site by twilight30 · · Score: 4, Funny
    ... there is at least one active site deployed in Cobolscript


    Not after today there isn't

    --
    ========================================
    Death will come, and will have your eyes
    -- Pavese
  3. Lol, that's rich. by BoomerSooner · · Score: 2, Interesting

    I specifically didn't take Advanced COBOL in college because I didn't want a dead end job fixing Y2K bugs. I feel sorry for anyone that is working with those old JCL/COBOL based systems.

    Although, as more people start to fall from the ranks of "knowing" COBOL the remaining few that can service the large amount of systems out there should do really well financially.

    I have an old COBOL compiler for an ancient version of Xenix (2.3.4 I think) on 5.25" Floppies! I may dust it off and take a look for fun at some of the old code I've got laying around.

    COBOL programming is like these old guys I worked with that hang their hat on DOS programming in Clipper, sad. What was impressive in 1993, is no longer impressive.

  4. COBOL for business logic != COBOL for presentation by Anonymous Coward · · Score: 2, Interesting
    There's certainly some justification that COBOL makes a better langauge for implementing business rules than either Perl or Java.
    So implement your business logic in COBOL and call it from your Java code (J2EE Connector Architecture) or Perl or whatever else.
  5. Re:Wow by Alrescha · · Score: 3, Insightful

    I don't know why the original post was modded 'insightful', did anyone actually look at that code? I did, and it was easy to determine what the program was supposed to do. I suspect it was understandable to most readers of Slashdot.

    Perl is the very definition of obfuscated. If you code in Perl while drinking, even you can't understand what the program does the next morning. It's powerful, but people don't refer to it as a write-only language for nothing.

    A.

    --
    ...bringing you cynical quips since 1998
  6. Cobol isn't dead. . . by Bastian · · Score: 3, Funny

    . . . it's undead.

  7. Lawson's ERP runs on Cobol by hobbestcat · · Score: 3, Insightful

    Lawson's ERP runs on Cobol... on top of Oracle DB... with a JavaScript UI engine. Really! I'm not kidding. We are deploying it right now and (as an IT Architect) I must say that I was stunned by their architecture.

  8. Been there... by pamar · · Score: 3, Insightful

    ... done that, etc.

    I've worked from 1988 to 1997, more or less, in large projects using varuious mixture of COBOL, C and so called 4GLs (Oracle).

    Main "advantage" of COBOL should be that if you restrict usage to a given subset of the language you may have mediocre coders *and* a relatively low defect count.

    Not much else to recommend it for, though.

    The idea of using it for HTML generation is pretty ridicolous, because, at least in my experience, using COBOL doesn't really help you keeping a flexible mind about different "paradigms" and having to suddenly reason in terms of page requests, caching, static vs. dynamic etc. would probably be a little overwhelming for the skillset of the "existing workforce who already knows the language".

  9. The Wow Community by fm6 · · Score: 3, Insightful
    To a COBOL person, that probably looks as clear as i++;. Which brings up a point people always overlook when they argue about whether one programming language is "better" than another.

    People think of programming language in terms of language specs and compilers or interpreters. But those things don't define a language -- they just describe and implement it. A programming language is defined by the community of programmers that use it. As long as that community persists, so will the programming language. It should come as no suprise that Cobol people find it easier to invent a Cobol-like script language than to switch to a totally new form of coding. Just as scientists and engineers (the original kind, not the software kind) insist on using Fortran, an ancient language that's a nightmare to compile and debug.

    Come to think of it, programming languages are not different in this respect from ordinary human language. Which people are always trying to "fix" but which remains stubbornly illogical and inefficient. Consider Han Characters, the oldest and most absurdly complex writing system on the planet. Yet it's a primary communication tool for 1/3 of the human race, and will certainly remain so as long as human literacy persists.

    1. Re:The Wow Community by Nighttime · · Score: 3, Informative

      To a COBOL person, that probably looks as clear as i++;.

      That would be ADD 1 TO i in COBOL :)

      Yes, I am a COBOL programmer and I had no problem comprehending the script linked to in the grandparent.

      --
      I've got a fever and the only prescription is more COBOL.
    2. Re:The Wow Community by daviddennis · · Score: 2, Interesting

      I don't know Cobol, but it wasn't hard to understand.

      But boy would it be a royal pain to write!

      Encoding the message in that bizarre way made my eyes ache. I suppose you could, irony of ironies, use a Perl program to generate it automatically :-).

      D

  10. even Eclipse IDE by Felipe+Hoffa · · Score: 2, Interesting

    I don't get it, but one of the official Eclipse projects is a COBOL IDE, including its debugger.

    http://www.eclipse.org/cobol/

    If you want it, go fetch it, its open source.

    Fh

  11. Re:still awaiting... by sinserve · · Score: 2, Informative

    Ask and ye shall recieve.