Jump to content

why should i choose java over others?

- - - - -

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

#1
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts
i came across two high level programming languages :python and ruby.
they are cross platform,just like java. they are very productive ( a programmer can write a program using python in less than quarter the time you need to write the same program in java). they have have -more or less- all the features you need to make your life easy.

my question is : why then should me ,you and everybody sacrifice productivity and go for java instead ? what does java has that make it more favorable?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
python: the runtime environment is not present on most Windows computers. The same is true of Ruby. Granted, both have compilers now, but historically, that hasn't been the case.

To me, python and Ruby are both scripting languages (and I think Ruby's hideous looking code). They compete with VBscript on windows and Bash on Linux. I don't view them as competing with Java.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts

WingedPanther said:

python: the runtime environment is not present on most Windows computers. The same is true of Ruby. Granted, both have compilers now, but historically, that hasn't been the case.

To me, python and Ruby are both scripting languages (and I think Ruby's hideous looking code). They compete with VBscript on windows and Bash on Linux. I don't view them as competing with Java.

they can do almost everything java can do ,and more

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The issue is, you can hand someone a .jar file and it will probably "just run". If you hand them a .py file, it won't.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts

WingedPanther said:

The issue is, you can hand someone a .jar file and it will probably "just run". If you hand them a .py file, it won't.

will a jar file run in newly installed windows ?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Possibly. MicroSoft puts out a runtime environment. More importantly, users know what Java is.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts

WingedPanther said:

Possibly. MicroSoft puts out a runtime environment. More importantly, users know what Java is.

ok, a jar file will not run in newly installed windows. but true indeed : users know what java is :)

#8
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts

docesam said:

will a jar file run in newly installed windows ?


I think it will but not entirely sure. You will probably have to upgrade the java environment that you have though. Though almost everyone ends up with Java installed quickly where as very few people have Python installed.

#9
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Not only is Java cross platform, it is cross device as well. It will run on cell phones, pdas, etc. Python will not.
Posted via CodeCall Mobile

#10
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts

Jordan said:

Not only is Java cross platform, it is cross device as well. It will run on cell phones, pdas, etc. Python will not.
Posted via CodeCall Mobile

not true ,python DOES run on cell phones

wanna see ?
Download Python for Other Platforms

#11
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
That is cool but the reality is very few people have Python on their computer yet alone on their ipods. :)

#12
docesam

docesam

    Newbie

  • Members
  • PipPip
  • 20 posts

chili5 said:

That is cool but the reality is very few people have Python on their computer yet alone on their ipods. :)

that is true but does not matter ,they can install python easily