News for hackers. Stuff that matters.
Re:Advice to Young Web Developers by collyw on Tuesday June 23, 2020 @03:03AM (#23610697)
I have been using Python type hinting recently, but I don't find it such a big game changer. Maybe I am just used to writing code without it and it will become clearer if I use it more. Like I say I don't like having an untyped database, and the benefits there aren't things that are obvious straight away.
Re:Advice to Young Web Developers by eyelidlessness on Tuesday June 23, 2020 @02:20PM (#23618027)
When I last worked in Python, I also didn't get much benefit, but I wasn't using either mypy or an IDE that warns on type errors. While obviously a different language, it wasn't until I worked with TypeScript in VSCode that I really came to appreciate static typing. And after a few years, I don't think I could go back to working without it.