Why Python?
Why use Python over java?
Hi I'm a computer engineering student, and i study Python development . And got to pick if i wanted to study Python or java and i responded with Python. But why? Well i'd had some previous knowledge in Python so that was one of the key points. But why i ultimately picked Python?
Well that's the question i'm hoping to answer today!
Why i picked Python over Java
Simply put.
- Python is easy
- With Python you can build more functions with fewer lines of code
- It's hard to fail with Python
Python is easy to learn
It's easy to learn Python. Well Python is not easy but easy to get going with. There are a lot of resources online to learn Python, online courses, YouTube tutorials and blog posts
With Python you can build more functions with fewer lines of code
Lets look at a example
Python:
Print("Hello world!")
Java:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
Writing compact and effective code in Python is easy. This is just one example and i'm not that familiar with java but i'we found Python to do everything i'we ever wanted or needed. But Python does sometimes over complicate things. And Python just seemed less cluttered and more organized.
It's hard to fail with Python
Using a good IDE with Python is a good way to get started writing Python.
The IDE i use is called Pycharm.
I mainly build web apps using Django. Using Python as a back-end. Obviously you still need the basics Html and css. And you can get quite far using the Django template language and Jinja2. But looking in to getting away from javascript you can get quite far with Django but escaping it complately is impossible...
Now look. I'm a student and these are my thoughts on the matter and not to be taken too seriously. You obviously use whatever language you want. I like Python because i'we always used it. But i'm always open to new languages and new possibilities. And i'm always striving to become a better programmer.
P.S. I study Python 3
Edit: With "python development student" what i mean is that my degree is in computer engineering and programming. I'm studying to become a software engineer. But what is actually study is Python 3 and web development with Python. And this post is why i chose to study p´Python as a programming language not as my degree.
Thank you for reading.
@gangze
Always remember that a good developer is one that knows what language/tool/framework to use in a specific situation. They all have weaknesses and strengths.
Just like you wouldn't say that wood is the perfect construction material and metal or concrete are bad in comparison.
Yes well said. I tried to touch on this with stating that python has it's advantages and disadvantages. But thank you for the tip! I'm always looking to learn about new programming tools! And what situations to implement them in.
gr8
learning python is fun
Yep!
i dont know about this but mostly my university friends study software engineering
Thank you for pointing out my mistake i posted a edit.Now I don't know if your intention was to be cocky with your comment or what but i don't appreciate you trying to defame me and call me a "scriptkiddy" i can supply the necessary documents to prove i study software engineering if you need satisfy your arrogance. :)