3 ms·
It's not just the types, it's the whole APIs, culture etc. Java, for example, is no picnic, whether it can now infer some types or not. In Python I don't even
by coldtea 10y ago
It's not just the types, it's the whole APIs, culture etc.
Java, for example, is no picnic, whether it can now infer some types or not.
In Python I don't even need a main().
- lmm 10y agoI agree Java is a high-ceremony language, but not all statically typed languages are like that.
- hota_mazi 10y agoHow is if __name__ == "__main__": main() different from a main()?
- cookiecaper 10y agoIt's only needed if you're importing the file as a library/module somewhere.
- squeaky-clean 10y agoYou don't even need that. print("hello world") will run just fine
- coldtea 10y agoIt's different in that it's optional in Python.