I've used Python a fair bit for a variety of semi-permanent or long scripts. I would have liked types more as well. Discovered MyPy after those instances.
https://docs.python.org/3/library/typing.html
The thing about python, as overall language philosophy, is convention over enforcement.
If you want your team to have a particular style and use certain features, then you should agree to do it and then use automated tools (like pep8, flake) to check that code complies with those rules, but it is up to you how you want to write the code.
"most popular" is hard to measure or even define.
https://www.economist.com/graphic-detail/2018/07/26/python-i...
Another measure could be looking at commits on github, but that also has its own biases.
Amazing how much of a pure-functional bubble I live in now. I should probably branch out more.
I remember being a bit baffled that they used Java and not Python as an introductory language. It's a very obvious choice for beginners.
Lol, I remember the first lesson.
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world");
}
}Now I have a job where I do Java about 30-40% of the time, and I've become horrified to learn that the school version of Java is the easy version. Having to create three different files to set up a database connection never ceases to depress me.