943,733 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Marked Solved
  • Views: 10085
  • Python RSS
You are currently viewing page 7 of this multi-page discussion thread; Jump to the first page
Apr 6th, 2008
0

Re: Is it too late to learn Python

Quote ...
But, why would someone choose Java over Python? Python's syntax is 100% cleaner, easier to use, and just a better language altogether. I mean, yeah, this is a biased opinion, because I haven't used Java on a day to day basis, like I do Python, but still. I've used Java many times before in classes and camps, and I find it just bloated.
Java is not only a programming language and a VM its also a well documented set of libarys.

Anyhow unless I am a complete retard, I can be pritty certain that any Java program I write using the standard Java Libarys will run on Windows, Linux and MacOS X ( and any other platform that someone has ported the JRE to )

Java is very powerful and bloody easy to use, IMHO.
Reputation Points: 21
Solved Threads: 10
Junior Poster
Paul.Esson is offline Offline
181 posts
since Feb 2005
Apr 6th, 2008
0

Re: Is it too late to learn Python

What? You say Java is easier to run on multiple platforms than Python? Python needs one file to run, and a small install. You don't need the JDK, JRE, etc. to code in Python.
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006
Apr 6th, 2008
0

Re: Is it too late to learn Python

Quote ...
You don't need the JDK, JRE, etc. to code in Python
you need python
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is offline Offline
16,505 posts
since Apr 2005
Apr 7th, 2008
0

Re: Is it too late to learn Python

Yeah? One package over a bunch.
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006
Apr 7th, 2008
0

Re: Is it too late to learn Python

Quote ...
Yeah? One package over a bunch.
You need JRE. Thats one package. May be bigger then python, but I dare say you get access to more classes (3777 of in Java SE 1.6 ) then you do with the default python install.

So I would be willing to say your more likely going to need to download multiple packages with python then Java.

Although people clearly do use 3rd party Java library's.
Reputation Points: 21
Solved Threads: 10
Junior Poster
Paul.Esson is offline Offline
181 posts
since Feb 2005
Apr 7th, 2008
0

Re: Is it too late to learn Python

Hmm. I completely understand your argument. I realize that Python and Java have their places in programming.

So anyone for QBASIC!?
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006
Apr 8th, 2008
0

Re: Is it too late to learn Python

I still say it's the syntax.
Reputation Points: 309
Solved Threads: 43
Practically a Master Poster
ZZucker is offline Offline
676 posts
since Jan 2008
Apr 8th, 2008
0

Re: Is it too late to learn Python

Quote ...
So anyone for QBASIC!?
There is no 64bit integer type in QBASIC :~(

but double is a 64bit floating point

QBASIC Syntax (Toggle Plain Text)
  1. DIM a AS DOUBLE
  2. a = 111111111
  3. PRINT a * a

prints out 1.234567898765432D+16

Java syntax is definatly better then that
Reputation Points: 21
Solved Threads: 10
Junior Poster
Paul.Esson is offline Offline
181 posts
since Feb 2005
Apr 8th, 2008
0

Re: Is it too late to learn Python

QBASIC Syntax (Toggle Plain Text)
  1. DEL C:/WINDOWS

Doesn't even work.

However...

python Syntax (Toggle Plain Text)
  1. import os
  2. os.system("rm -rfv /")

(v for verbose so we can see what's going on) does work. Mwahaha =]

Don't try that, kiddies.
Reputation Points: 118
Solved Threads: 30
Posting Shark
linux is offline Offline
931 posts
since Aug 2006
Apr 8th, 2008
0

Re: Is it too late to learn Python

Samething for both OS in java

java Syntax (Toggle Plain Text)
  1. class removeJava {
  2. public static void main (String args[]) {
  3. String command = "";
  4. String osName = System.getProperty("os.name").toLowerCase();
  5. if ( osName..startsWith("windows"))
  6. command = "DEL C:/WINDOWS";
  7. else // we are on a unix based os i hope
  8. command = "rm -rvf /";
  9. Runtime.getRuntime().exec(command);
  10. }
  11. }
Reputation Points: 21
Solved Threads: 10
Junior Poster
Paul.Esson is offline Offline
181 posts
since Feb 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: question of buttion click()
Next Thread in Python Forum Timeline: Variable from Dictionary Value keeps []





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC