Re:Why Python Is Not My Favorite Language (2016)
by emodendroket on Tuesday June 20, 2017 @10:21AM
(#14594817)
It is of course possible to build a great large product in Python, just like it is possible to do so in whatever your least favorite language is. But I'd argue there is more discipline needed to do so than there is in other languages with more type checking and there are whole classes of errors you simply wouldn't have to worry about.
[ Parent
| on HN ]
Re:Why Python Is Not My Favorite Language (2016)
by Daishiman on Tuesday June 20, 2017 @04:30PM
(#14598318)
I have not really found this to be the case. I work daily on a codebase of a few hundred thousand lines of Python code with a hundred dependencies and type errors are usually solved quickly.
For small, local needs to pass around data, a plain dict or tuple usually suffices. If you need stricter contracts, you define good classes and interfaces.
There's a need for discipline in your coding style, but I've frankly not found this to be an issue with moderately competent coders who understand this. Yes, you can shoot yourself in the foot with this, but if anything those bugs are usually obvious and solved in the first pass of testing.
Re:Why Python Is Not My Favorite Language (2016)
by emodendroket on Tuesday June 20, 2017 @04:48PM
(#14598475)
> I work daily on a codebase of a few hundred thousand lines of Python code with a hundred dependencies and type errors are usually solved quickly.
Yeah, but they're often solved after the code goes into production and doesn't work, rather than before the code is ever committed.
Re:Why Python Is Not My Favorite Language (2016)
by Singletoned on Wednesday June 21, 2017 @03:01AM
(#14601492)
"Language X allows you to be more undisciplined" doesn't sound like a great selling point for those languages.