www.webdeveloper.com
Results 1 to 11 of 11

Thread: PHP vs Cobol

  1. #1
    Join Date
    Sep 2012
    Posts
    8

    PHP vs Cobol

    I found this survey and got interested in what you guys prefer. Is it PHP or Cobol? What are the advantages and disadvantages?

  2. #2
    Join Date
    May 2012
    Location
    St. Helens, UK
    Posts
    74
    COBOL? Seriously? I've never heard of anyone using COBOL in web development. As far as I'm aware the majority of COBOL code that is still in use is "legacy code" - i.e. stuff that has somehow escaped being re-written in a more modern programming language.
    It's possibly a less maligned language than PHP, however.. ;-)
    Crisialu Web Design
    Daihuws's Blog

    "There is no human problem which could not be solved if people would simply do as I advise."

  3. #3
    Join Date
    Sep 2012
    Posts
    8
    True - not web development but still development. Just look for example at this job.

    I think there are many people that prefer Cobol than Php ..just scroll down at the survey and you'll see..

  4. #4
    Join Date
    May 2012
    Location
    St. Helens, UK
    Posts
    74
    Sure. But this being the webdeveloper.com forum, and PHP being a language that is mostly used in web development, I rather assumed you were talking about it's use in web development. I've never used COBOL so can't really make any further comment. I would be interested to hear if anyone does use it for purposes other than maintaining legacy code.
    Crisialu Web Design
    Daihuws's Blog

    "There is no human problem which could not be solved if people would simply do as I advise."

  5. #5
    Join Date
    Sep 2012
    Posts
    8
    Of course. I'm sorry..it was my fault. I didn't think about it.

  6. #6
    Join Date
    May 2012
    Location
    St. Helens, UK
    Posts
    74
    No need to apologise.
    Crisialu Web Design
    Daihuws's Blog

    "There is no human problem which could not be solved if people would simply do as I advise."

  7. #7
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,338
    To the best of my knowledge, there are very, very few (if any?) companies creating new applications using Cobol; so any jobs using it would be for maintenance of (old) existing programs, typically mainframe and/or client-server apps. If that sort of thing interests you, it could be a reasonably rewarding niche job for as long as those old legacy apps hang around.

    If you're looking to learn programming languages that are going to be used for developing new applications (or even just maintaining anything developed in the last decade or two), you're mostly looking at Java (not JavaScript) and C++/C#. PHP is a bit down on that list in general, though near the top in terms of web applications. My personal recommendation would be to not bother with Cobol unless you're truly interested in being strictly a maintenance developer (and probably for a continually shrinking market as the years go by).
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  8. #8
    Join Date
    Sep 2012
    Posts
    8
    Thanks for the detailed explanation NogDog. It's very interesting!

  9. #9
    Join Date
    May 2006
    Posts
    115
    NogDog hit the nail on the head.

    A lot of those using COBOL are for legacy systems, mostly because they have a lot of data and money invested in those systems back then and it would be costly (development-wise, manpower-wise and problems when porting the data while daily operations is going on) to move the data.

    If you want to create for the web, then java, php, ruby and python would be good options. PHP still remains as the most widely used language for the web.

  10. #10
    Join Date
    Oct 2012
    Posts
    13
    Php is a widely used language ,,, no doubt..

  11. #11
    Join Date
    Sep 2012
    Posts
    8
    So that means you can't compare them because they're used for different things. I got it Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles