Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Which language would be most helpful?

by pg (Canon)
on Feb 02, 2003 at 06:22 UTC ( [id://231951]=note: print w/replies, xml ) Need Help??


in reply to Which language would be most helpful?

I used all three in the past. This has something to do with the nature of my job. As a consultant I worked on different projects for end users, and in most of the projects, user has a say in platform, OS and language. This is why I had a taste of all three.

No doubt, COBOL is out:
  1. COBOL is not for general purpose, it is a "special" language to process files and generate other files, and reports.
  2. COBOL's effort to support OO is ill-fated, although there is a COBOL-OO standard, but it didn't get any attention, and I don't think any more effort will be put in to revive it.
  3. On the social side, there are not many jobs available for COBOL programmers.
  4. However there is one shinning bright spot for COBOL: PeopleSoft. PeopleSoft is one extreamly widely used application, and it is developed in COBOL.


I don't want to draw a clear line between C++ and Visual Basic. Both of them are great languages, and they would give you taste on different aspects of modern computing. You may not like microsoft, and the way they do their business, but this should not affect your judgement about VB.

To be frank, I will feel guilty to suggest you not to learn c++, and at the same time, I will also feel guilty if I suggest you not to learn VB. Really, make a difficult decision, pick one as a course, and learn the other one on your own.

About C++:

  1. Great at OO.
  2. c family is a big one: includiong c, c++, java and perl.
  3. great at network computing (I worked for SUN before, and after that, computer without network is no longer a computer to me.)
  4. from an educational view, c++ is a good language to get a taste of all the important data structures, like queue, stack, linked list, tree etc. (From this point of view, it replaced PASCAL's function)
  5. but GUI is not an integrated part of C++, unless we are talking about VC++ (hate microsoft, huh? ;-)
  6. event-driven is not integrated part of c++. Remember this, one design objective of c/c++ is to make it simple, only support what is really needed.


About VB:
  1. great GUI support, nobody can say Java's GUI didn't borrow from VB.
  2. VB is event-driven, and if you say VB is the first event-driven language that get lots of attention, you are not too wrong.
  3. VB is not a language, but an integrated development environment.
  4. You would find out where JavaBean comes from.
  5. Yes, VB only runs on Windows, but lots of concept VB would give you are generic concepts across platform. (Java brought lots of those across)
  6. VB is not OO, and is OO, half way in between. An OO with a localized taste.


Final point, if you know both C++ and VB, it would be so easy for you to get started with Java. This is my time line: c => (small talk) => c++ => vb => java, and I know how both c++ and VB helped me to understand Java. Perl is just my recent interest.

Replies are listed 'Best First'.
Re: Re: Which language would be most helpful?
by Brutha (Friar) on Feb 03, 2003 at 11:02 UTC
    > No doubt, COBOL is out

    Yes, but if you have good COBOL knowledge, you find a job in nearly every mainframe related project. Every kid knows C or Java, but Mainframe knowledge, which include COBOL and REXX, is rare and needed for some decades. Beside the countless legacy applications, there are lots of new programms, interfaces, batch-jobs still written in COBOL. Many Codegenerator produce COBOL code for the mainframe and C for the PC. But, it is a terrible language.

    I have programmed in more than a dozen programming languages, but I never managed to write an acceptable bit of VisualBasic. This language tends from my point of view to destroy any programming style, I hate it and still have to use it. I would avoid it for education purposes.

    From your alternatives C++ gives you the chance to learn everything you need from the basics, depends on the teacher and you.

    To learn OO take smalltalk, that will influence (positivly) every piece of code you write in the future. But if you get the chance try out some assembler, which will give you some understandig how the languages/computer work.

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://231951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found