▲ | greatgib 6 hours ago | |
You can but it defeats the purpose of typing. Makes a little bit more complicated to code and more verbose for almost no benefit. That is my point. | ||
▲ | toxik 2 hours ago | parent [-] | |
Hear, hear. I often spend five times as long peddling about with the type annotations. Most of the “bugs” I find with the type checker are type annotation bugs, not actual software bugs. What type annotations do however deliver is useful completion via LSP. |