3 ms·
It absolutely is a code correctness tool. If I have a function that should only accept a string then static analysis will error in all the places that pass anyt
by goodoldneon 4y ago
It absolutely is a code correctness tool. If I have a function that should only accept a string then static analysis will error in all the places that pass anything else. As long as you validate your inputs (i.e. request validation) then the type annotations are representative of the runtime types