0
Which programming language is better to start programming?
4 Réponses
+ 3
0
Out of Python, c++, and Java, go with Python as a first language.
You can learn how to write various algorithms, make a functional graphical user interface with packages like PyGame. Python is the first language taught at the best high school I know of around my city for their computer science program.
There are some strengths of Python as a first language over those others including:
- You can run individual lines of Python in a shell environment to see what tiny pieces of code does. c++ and Java almost always get compiled as complete source files to be run.
- Code blocks work off indentation instead of brackets which forces you to indent clearly and consistently. It also eliminates a few small language-rules.
- You can often do more with less code in Python. Unlike Java, Python doesn't require you to write everything in a class. Unlike c++, you don't need a main function.
- Python's packages are easier to install and manage. Java requires downloading jar files and including them in a class path argument. c++ includes libraries differently on different operating systems and with different compiler tools. Python's pip tool is very popular, well documented, and easier for a beginner to use.
After getting comfortable with Python by implementing various types of small applications like 2D games, if you want something new, you could look at JavaScript. JavaScript is fairly critical for web development. Web development requires CSS, and HTML too so it might not be the best to start with. The Python skills could support your web development later since Python's Flask is easy to use for server-side web development.
0
Josh Greig Thank you