Re:Green vs. Brown Programming Languages
by tcbasche on Friday April 23, 2021 @01:30AM
(#26911282)
Putting aside the dreary package management situation with Python (although perhaps Poetry will scratch that itch?) codebases really only shine with comprehensive unit testing, linting, static analysis and a bit of discipline to stop it from degrading. Although perhaps that’s applicable to any large codebase.
[ Parent
| on HN ]
I agree.
Poetry is good but not good enough to use at work yet. Also - not Poetry’s fault - many Python packages are miserable at listing and versioning their dependencies correctly.
Re: everything else, you’re right but it gets really tiring writing tests that are handled by the type system in other languages.
Go has this problem too to a certain degree since multiple error subtypes can’t be expressed as an enum. Just errors.Is and errors.As everywhere.