LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-01-2007, 05:20 AM   #1
jdrietz
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
Java or Python for Beginner in Network Programming


I have dabbled in programming before, mainly Java (and some Pascal back in college), and would like now to go more in depth. I'm interested in network applications - I've hacked together a couple of Java programs to download and parse emails, pull content from a web page, etc. and I would like to do more in this area, albeit larger and more complex projects.

I am trying to decide which language to focus on given my limited free time and Java and Python look the most interesting and promising to me. Thoughts and recommendations?

(FYI: While I'm not looking to start a career in programming right now, I might consider it - if anyone has advice on making a career switch into programming after 30, I'd love to hear it!)

Thanks!

Last edited by jdrietz; 01-01-2007 at 01:52 PM.
 
Old 01-02-2007, 08:23 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
where are you?
you'll find it much easier to get on the ladder with formal qualifications.
I switched after 30 it's not too late by a long way.

for fun: python, loads of work in java though personally i don't like it.

Last edited by bigearsbilly; 01-02-2007 at 08:27 AM.
 
Old 01-02-2007, 01:49 PM   #3
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Limited time fits best with Python because productivity is higher. And Python is more fun, as bigearsbilly said.
 
Old 01-02-2007, 04:38 PM   #4
jdrietz
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the answers.

Without starting a language flame war (I hope!), how much higher would you say productivity is in Python? And are there any performance issues re: network applications with Python?
 
Old 01-02-2007, 05:23 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
jdrietz, it's subjective. You will get different answers from different folks. But (I think) most people would agree that you can generally do more work with less lines of code using python. More importantly, IMO, python is easier to read and maintain. You will take a performance hit using python, so for large applications where that's an important consideration you may want to think twice.

As for which language will give you a better return on your time investment, how much of a java expert are you? Are you an expert in any other c-based language? If the answer to both is "no", then... I'm strongly of the opinion that python is more intuitive. Learning java will require additional time.

Which is a long way to answer your question with: use python.
 
Old 01-03-2007, 01:18 AM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Twisted is the best Python framework for really high-performance network programming. But it takes some time to be mastered.
 
Old 01-16-2007, 10:06 AM   #7
billiejoex
Member
 
Registered: Oct 2005
Posts: 31

Rep: Reputation: 15
Quote:
how much higher would you say productivity is in Python?
Compared to C... about 10 (or even more) times more productive.
Compared to Java I sincerely can't tell how much but it's surely a lot more productive.

Last edited by billiejoex; 01-16-2007 at 10:43 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Java classes and SQL (Advanced stuff?) Mega Man X Programming 4 04-07-2006 07:15 AM
python help for beginner thtr2k Programming 1 05-03-2005 03:29 PM
C++ , Java or python? marlor Programming 3 08-26-2004 01:47 AM
proding c++/java/python question Nevion Programming 1 01-11-2004 10:22 AM
Python - Beginner to Solid Programmer SirLancelotX Programming 3 07-08-2003 02:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration