Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 15th, 2005, 5:42 PM   #31
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
Although Java might not be as easy as Python, but Java is a more powerful language.
Normally i'd restrain myself, but you're in the Python forum, so :p:
wtf!? More powerful? How? As in it runs on more systems? No it doesn't. As in it even runs with equal performance across systems? No it doesn't. As in it's an inflexible language that forces silly restraints (one class per file) and doesn't provide you with the ability to provide intuitive, logical APIs (operator overloading, multiple inheritance)? Yes.
Quote:
and has wide applications
Having to work with Java on occasion, I find that it's range of quality third party extensions to be nothing on that of Python's, in both quantity or quality (batik being a notable exception, mind). The kind of "wide applications" that are created with Java are those that depend on such a large library.. I can comfortably package the Python interpreter with my files via py2exe and have an exe of a sane size.
Cerulean is offline   Reply With Quote
Old Aug 15th, 2005, 6:58 PM   #32
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

Quote:
Originally Posted by Ooble
Well, how could it? What if someone wrote their own low-level function to do the same thing? How would you stop them?
Talking about the unsafe input() ...
... couldn't one require that the first character (or any char) be related to numeric input, like has to be a number, -, +, . before it hits eval()?
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old Aug 15th, 2005, 7:01 PM   #33
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
But the point is that it doesn't have to be a number. It just eval()s whatever you give it. For example, this is a valid entry to an input:
>>> input("Enter stuff: ")
Stuff: 'foo' + 'bar'
'foobar'
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Aug 15th, 2005, 8:42 PM   #34
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Java is a very scary language, don't learn it if you are a beginner.

I tried that and it discouraged me from programming for a while... it made me think I couldn't program. :p
Sane is offline   Reply With Quote
Old Aug 15th, 2005, 8:50 PM   #35
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by Cerulean
wtf!? More powerful? How?
Everyone has his opinion based on his knowledge and opinion. Personally, I find python in the same retarded class with Qbasic.

Now You don't have to listen to me about how superior Java is to Python, but how does 4000 open positions for a java developer in the United States alone sound like? then go to CareerBuilder.com and search for Python and you get 250 positions. Maybe things are different in the UK but last time I checked, (4000 > 250) returns true.
OpenLoop is offline   Reply With Quote
Old Aug 15th, 2005, 9:03 PM   #36
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Maybe what makes a programming language enjoyable is not the potential job openings... but possibly the fun and inspiration?
Sane is offline   Reply With Quote
Old Aug 15th, 2005, 9:14 PM   #37
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by Sane
Maybe what makes a programming language enjoyable is not the potential job openings... but possibly the fun and inspiration?
True, but fun doesn't make business. I used to enjoy Qbasic when i was a kid, but now i look at it as a very limiting language. Besides, we're not talking about enjoyable here, for instance, i find Lisp enjoyable but that doesn't make it a good language.
OpenLoop is offline   Reply With Quote
Old Aug 15th, 2005, 9:16 PM   #38
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
We're talking about what language will be best for verb, not business.

Verb is new to programming, and his intentions seem purely upon interest in it.

Therefore he needs an enjoyable language that won't discourage him from programming, not necessarily a language that he will use to make money in the future.
Sane is offline   Reply With Quote
Old Aug 15th, 2005, 9:38 PM   #39
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Quote:
Originally Posted by Sane
... he needs an enjoyable language that won't discourage him from programming...
I agree with you 100%.

I know java can be a little hard on beginners
Quote:
Originally Posted by OpenLoop
...Although Java might not be as easy as Python...
but it's a good asset to have assuming you'll become a professional programmer. But all the sudden, and out of nowhere, Cerulean jumps me with his false advertisement and starts bashing Java and degrading it in front of the almighty Python.

I say False advertisement because multiple inheritance is possible in java by using interfaces and java runs on JVM which can be downloaded for windows, MacOS, and most Linux distros AND which also guaranties that your program will run identically across systems.

EDIT: And who said you can only have one class per file, you got it all wrong buddy. You're only allowed one PUBLIC class per file but you can have as many private classes as you want to be used within that file.

Last edited by OpenLoop; Aug 15th, 2005 at 10:08 PM.
OpenLoop is offline   Reply With Quote
Old Aug 15th, 2005, 9:44 PM   #40
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Yep, I agree.
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC