Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What was your static language alternative to Python?
4 points by may4m on Feb 15, 2021 | hide | past | favorite | 2 comments
Our python code base in the company I work for is growing and we're already feeling the pain of dynamic typing (some ImportErrors, changing function signatures, dicts, unpredictability, etc) as we’re adding more junior devs. We already have mypy, good test coverage and refactored large parts to use static objects (classes instead of dicts) and that improved things, but it seems like we're spending more time on things that we should be getting for free in a static language. If you’ve migrated your codebase from python to static for similar reasons, which language and why?



Could you elaborate on what you believe you'd get for free in a static language compared to type-annotated and -checked Python? I'm curious as I'm in a similar situation, but not in a company, but as a researcher.


What is lacking with Mypy? Some errors are not handled/catched by it?




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

Search: