5 ms·
Python has better libraries and faster turnaround. It would be handy if you could write something without using type hints as a quick prototype, and then add th
by coderenegade 4y ago
Python has better libraries and faster turnaround. It would be handy if you could write something without using type hints as a quick prototype, and then add them in for a performant releasable product. It would also help with distribution of python code (distribute the binary), which isn't as strong as python's other features.
- bamboozled 4y agoSometimes I wonder if people who say this have tried something like Go? The way I think about it is like this, if you want to really just hack something together, why do you care about static typing? If you're building a serious larger code base, you then might want static typing, so then why not use a statically typed language?
- adsharma 4y agoBecause python is #2 on the most used languages list, has great tooling, IDE support, has been around for 30+ years. It's been used to build serious large scale projects. The idea is that you can get great runtime performance by transpiling. This is how Facebook worked till 2013-2014 (php -> C++ transpiler). It's unfortunate that google abandoned the grumpy project. But many good alternatives around.
- bamboozled 4y agoThere are reasons it's #2 on that list, because there's a lot of shit python code out there. Not all of it is Instagram (Django). Probably the most atrocious code I've ever seen has been PHP followed by Python. I use Python personally, I just don't think it's a good choice if you really want a statically typed language...because it's not statically typed.
- LionTamer 4y agoGo looks very promising, particularly for web services / networking oriented programs. I don’t have much experience / knowledge about Go, does it have a comparable ability to write the kind of expressive, elegant code that Python can with its list/dict comprehensions, operator overloading, generators, etc.