Re:Writing a SQL database from scratch in Go
by throwaway894345 on Monday April 13, 2020 @09:36AM
(#22855691)
It’s one of the more common bugs in our office. Before we integrated a Python linter in our CI for a prototype project, we would see several such typo errors each week with a small team (and that was with symbols, not string literals).
[ Parent
| on HN ]
Re:Writing a SQL database from scratch in Go
by userbinator on Monday April 13, 2020 @09:43AM
(#22855751)
Python and a lot of the other dynamic languages are in a slightly different situation.
Re:Writing a SQL database from scratch in Go
by throwaway894345 on Monday April 13, 2020 @12:38PM
(#22857350)
The point is that if you can make typos in identifiers in (unlinted) Python then you can make typos in string literals in Go. In both cases, there is no static analysis to help you.