cobol

This is a discussion on cobol within the A Brief History of Cprogramming.com forums, part of the Community Boards category; is it still usefull to learn cobol or will this language disappear?Which languages are nowadays "hot"?...

  1. #1
    Unregistered
    Guest

    cobol

    is it still usefull to learn cobol or will this language disappear?Which languages are nowadays "hot"?

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    I recently read that Cobol is still used quite a lot, but mainly because a lot of software used to be written in Cobol. So it is mainly maintaining those software.

    Hot languages:

    - C
    - C++
    - C#
    - Java
    - Visual Basic
    - Python
    - Perl

    and many more. (It just depends on which kind of applications you're talking)

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >is it still usefull to learn cobol or will this language disappear?
    A lot of legacy systems use COBOL, so the potential for finding a position maintaining or porting that code is high. It's also hardly a dead language as new code is being written in business situations all the time. So yes, it is useful to learn COBOL if only to increase your marketability. Everyone seems to think COBOL is dead and they don't bother learning it when there are a great many jobs that will hire you in an instant if you have COBOL experience. The .NET platform also supports their version of COBOL, though I haven't seen it yet and can't tell you if it's worth anything.

    -Prelude
    My best code is written with the delete key.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by Shiro
    I recently read that Cobol is still used quite a lot, but mainly because a lot of software used to be written in Cobol.
    COBOL is used a lot where I work.. it's on a good 'ol fashioned mainframe! There's plenty of programmers that work here too, doing that kinda stuff.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User
    Join Date
    May 2002
    Posts
    34
    I learned Cobol 74 and Cobol 85. They kind of suck. The only good thing I learned was related to datafile management, which I can turn around and apply to C.

  6. #6
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Aren't there no restrictions on a variables size in COBOL, or is that FORTRAN?

    P.S. I know the system memory restricts the size. Other than that though, is there a restriction?

  7. #7
    Registered User
    Join Date
    Apr 2002
    Posts
    200
    You realize that if you tell your boss you know Cobol, then you will be whisked off to work maintaining incredibly boring business apps til the end of time...It happened to a friend of mine
    I go to encounter for the millionth time the reality of experience and to forge in the smithy of my soul the uncreated conscience of my race.

    Windows XP consists of 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.

  8. #8
    Registered User
    Join Date
    May 2002
    Posts
    34
    Aren't there no restrictions on a variables size in COBOL, or is that FORTRAN?
    In Cobol, there are divisions that define the size of the varaibles. There is a restriction on the percision of calculations. The data types are not so obvious but behind the code are data types just like any other language. Cobol is like VB 6 in the sense that it is written so that it looks less like code and more like the english language. Cobol 74 and 85 are designed for business, hence the name COmmon Business Oriented Language (COBOL). It's a procedural language which yields compact but limited code for generating reports and reading files. It's not too difficult to learn the language definition, but than you are stuck on a hill afterwards still looking at the big mountain represented by C/C++/Java/C#.

    I hear that fujitsu is developing Cobol for .net. The OOP version of Cobol, but Í don't think I'm going to bother with it, not so long as the OS is written in C/C++.

  9. #9
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    I've done some fortran programming. In fortran 77 you have to make your variables 6 letters long, all uppercase and have to have an editor that supports fortran mode or else you have to do the spacing just right. All of these problems were fixed in fortran 90 I think most modern fortran 77 compilers will extend it. Another strange thing was that the compiler could
    tell if variables starting with I, J, K, L, M, N were implied integers.

    http://www.fortran.com/fortran/F77_std/rjcnf0001.html

  10. #10
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    I hate COBOL and i wish it gets banned.

  11. #11
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>>
    In fortran 77 you have to make your variables 6 letters long, all uppercase
    <<<

    Compiler dependent. Both of the F77 compilers I've used did not have those retrictions, (Gould F77 and DEC VMS F77).
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cobol!? Why!?
    By carrja99 in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 04-08-2003, 03:44 PM
  2. Cobol
    By ammar in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 02-20-2003, 12:23 PM
  3. cobol problem
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-17-2002, 01:21 PM
  4. Call COBOL program
    By PeterH in forum C Programming
    Replies: 1
    Last Post: 12-05-2001, 01:54 AM
  5. Cobol
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 10-19-2001, 11:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21