Jump to content

language comparisons

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
random guy

random guy

    Learning Programmer

  • Members
  • PipPipPip
  • 48 posts
hey i often here people praising or hating different programming languages. like i am currently learning java and a lot of people have told me that when i program professionally i probably wont use java much because it is slow.

i havent noticed any slowness but my programs have all been pretty simple. i have never made a program that really pushed the hardware of my machine. i like some things in java. i like object oriented programming (other languages have it too of course). and that java compilers try to force you to catch exceptions which decreases the number of runtime errors. lots of people like c++. i know a lot of linux apps are written in python.

what do you guys think.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
From my experience, people's preference for one language comes from a few things:
1) how well do they deal with terse syntax?
2) what programming paradigm to they prefer (OOP, procedural, etc)
3) do they need/want RAD?
4) what does their boss use?
5) what is the target platform(s)?

I like C++ because it is terse and cross-platform.
My boss hates C++ because it is terse and doesn't have RAD GUI development.
At work, I don't use C++.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
G_Morgan

G_Morgan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 537 posts

random guy said:

hey i often here people praising or hating different programming languages. like i am currently learning java and a lot of people have told me that when i program professionally i probably wont use java much because it is slow.

i havent noticed any slowness but my programs have all been pretty simple. i have never made a program that really pushed the hardware of my machine. i like some things in java. i like object oriented programming (other languages have it too of course). and that java compilers try to force you to catch exceptions which decreases the number of runtime errors. lots of people like c++. i know a lot of linux apps are written in python.

what do you guys think.

Java is comfortably the most used language in industry on the planet so I'd suggest that 'a lot of people' don't know what they are talking about it. Despite this it still sucks, the problem is it isn't really brilliant at anything. It's mediocre at a vast range of problems. There is nothing really bad about it, there's just nothing good either.

Personally I believe in using the best tool for the job. This is rarely Java. Managers like it because it's the lingua franca, everyone knows it and hence programmers who work with it are cheap.

Sometimes the right tool is a scripting language, sometimes FP, other times OOP and there are still use cases for procedural imperative programming languages.

I wouldn't get caught up in language fanboyism. There's little or no use to it.