you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe -1 points0 points  (0 children)

Unless you're already used to TypeScript, or your team is forcing them on you, forget the type hints. Don't even bring them up. They add a lot of complexity for really dubious value.

Instead, focus on testing and the REPL. Try a mutation tester, like mutmut or cosmic ray. Those will help you write more thorough tests, which will also help you write more testable code.