Jump to content

Python vs Java (for web-development)

I started attempting to develop with the Youtube/Google API and I'm currently using python. I'm a newb developer and people already told me to go for python since I'm new. But I want to know how it will affect me in the long-run, whether or not to go ahead and start with java or go with python. Also, which python should I use if I decide to go with it, 2.x or 3.x. 

 

Any input?

rawr!! I'm a ferret!

Link to comment
https://linustechtips.com/topic/56742-python-vs-java-for-web-development/
Share on other sites

Link to post
Share on other sites

I would start with python but you can only run it on linux unless you get python on Windows and its easier than java i think. When I started my programming course, I think I used Python 2.x. Imo Java is more popular than Python so I think Java would be better for the long run.

Hello and Welcome to LTT Forum!


If you are a new member, please read the rules located in "Forum News and Info". Thanks!  :)


Linus Tech Tips Forum Code of Conduct           FAQ           Privacy Policy & Legal Disclaimer

Link to post
Share on other sites

Python is what I learned with, I am just starting java now.

Desk: monitors 3x Asus VE248h(eyefinity), Keyboard Cm Strom Trigger(mx red), Mouse Corsair m65, Headset Audio Technica ATH-M50

Black Friday 2013 Build: i7 4770k, Gigabyte Z87X UD5H, 16gb Corsair, Msi R9 290, Corsair Axi 760, Corsair 750D, 2x intel 530 240gb ssd, 2x Seagate 400gb

Older Machine amd x640, msi 760g mobo, 8gb gskillz, Sapphire 6870, Corsair hx650, Cooler master haf 922, ocz agility 3 120gb ssd || HTPC: i7 3770k, shuttle xpc z77, 16gb gskillz, Asus GTX 650 ti, intel 120gb msata ssd

Link to post
Share on other sites

I would start with python but you can only run it on linux unless you get python on Windows and its easier than java i think. When I started my programming course, I think I used Python 2.x. Imo Java is more popular than Python so I think Java would be better for the long run.

I have Ubuntu installed on a partition and have Python on windows. I have a book for Java, but python is very straight forward. IDK what to use. 

rawr!! I'm a ferret!

Link to post
Share on other sites

If you are looking at getting in to general programming then it probably is a good idea to learn Java in the long run. It is good for learning the concepts of object oriented programming (encapsulation, polymorphism etc.) and strong typing, it has a lot of good development tools (NetBeans, Eclipse) and is very popular in business environments. 

 

That said, if you are just doing web development then I would stay away from Java. Most of the stuff that exists for doing web development in Java is aimed at enterprise users and will be overkill, especially if you are just starting out.

Link to post
Share on other sites

Hows Java so far, and how was python when it comes to making things with it. 

I used python along with pygame to make tetris, I liked doing it. I am only on 3 string things in java right now, so I have no real opinion. 

Desk: monitors 3x Asus VE248h(eyefinity), Keyboard Cm Strom Trigger(mx red), Mouse Corsair m65, Headset Audio Technica ATH-M50

Black Friday 2013 Build: i7 4770k, Gigabyte Z87X UD5H, 16gb Corsair, Msi R9 290, Corsair Axi 760, Corsair 750D, 2x intel 530 240gb ssd, 2x Seagate 400gb

Older Machine amd x640, msi 760g mobo, 8gb gskillz, Sapphire 6870, Corsair hx650, Cooler master haf 922, ocz agility 3 120gb ssd || HTPC: i7 3770k, shuttle xpc z77, 16gb gskillz, Asus GTX 650 ti, intel 120gb msata ssd

Link to post
Share on other sites

Java for web, C++ for other (non-specialised) applications. Just learn them and you're golden.

Intel 3770K @ 4.4GHz (Summer) - 4.6GHz (Winter) / Asus P8Z77-V Deluxe / EVGA GTX 680 /w Arctic Twin Turbo II / 16GB Corsair Vengeance @ 1866MHz / Samsung 840 Pro 128GB (Steam) / OCZ Vertex 4 128GB (Boot/Office/Steam) / Seagate Barracuda 2TB x2 (RAID 1, Storage) / Asus Xonar D2X / OCZ 1250W ZX / H80i /w 2 x Gentle Typhoons / Cooler Master HAF X /w Pioneer Blu Ray, Aerocool V12XT, 4 x Cooler Master MegaFlows (Red) / Logitech Z906, G930, G19 & G700

Link to post
Share on other sites

Java for web, C++ for other (non-specialised) applications. Just learn them and you're golden.

Yeah I started over on my API ans strated suing Java becuase if I want to carry it over to mobile, its already supported.

rawr!! I'm a ferret!

Link to post
Share on other sites

Yeah I started over on my API ans strated suing Java becuase if I want to carry it over to mobile, its already supported.

Good plan. It really is as simple as:

Phase 1 - Learn Java and C++

Phase 2 - 

Phase 3 - PROFIT!

Intel 3770K @ 4.4GHz (Summer) - 4.6GHz (Winter) / Asus P8Z77-V Deluxe / EVGA GTX 680 /w Arctic Twin Turbo II / 16GB Corsair Vengeance @ 1866MHz / Samsung 840 Pro 128GB (Steam) / OCZ Vertex 4 128GB (Boot/Office/Steam) / Seagate Barracuda 2TB x2 (RAID 1, Storage) / Asus Xonar D2X / OCZ 1250W ZX / H80i /w 2 x Gentle Typhoons / Cooler Master HAF X /w Pioneer Blu Ray, Aerocool V12XT, 4 x Cooler Master MegaFlows (Red) / Logitech Z906, G930, G19 & G700

Link to post
Share on other sites

Python. Java doesn't really feel suited for website development even if it's capable. On the other hand, CherryPy is amazing. 

 

PHP is easier to get into for web development.

Interested in Linux, SteamOS and Open-source applications? Go here

Gaming Rig - CPU: i5 3570k @ Stock | GPU: EVGA Geforce 560Ti 448 Core Classified Ultra | RAM: Mushkin Enhanced Blackline 8GB DDR3 1600 | SSD: Crucial M4 128GB | HDD: 3TB Seagate Barracuda, 1TB WD Caviar Black, 1TB Seagate Barracuda | Case: Antec Lanboy Air | KB: Corsair Vengeance K70 Cherry MX Blue | Mouse: Corsair Vengeance M95 | Headset: Steelseries Siberia V2

 

 

Link to post
Share on other sites

Python. Java doesn't really feel suited for website development even if it's capable. On the other hand, CherryPy is amazing. 

 

PHP is easier to get into for web development.

though it is confusing with its loose typing and the use of -> for dereferencing to a java/C# programmer(though you don't have to use ->)

Link to post
Share on other sites

I would start with python but you can only run it on linux unless you get python on Windows and its easier than java i think. When I started my programming course, I think I used Python 2.x. Imo Java is more popular than Python so I think Java would be better for the long run.

 

If your web server isn't running Linux, you're doing it wrong. Fuck IIS.

 

Python is better for Web than Java, but PHP is probably the best.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×