by tombert · 7y ago · 0 comments
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.
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.
"most popular" is hard to measure or even define.
https://www.economist.com/graphic-detail/2018/07/26/python-i...
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");
}
}