Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


Python and a lot of the other dynamic languages are in a slightly different situation.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: