Re:Show HN: Lona – Framework for responsive web apps in full...
by IshKebab on Thursday August 12, 2021 @04:51PM
(#28161296)
> I get autocomplete and goto definition with dynamic languages just fine.
No you don't. See how autocomplete does with this function:
def foo(s):
s.
Now try it with type annotations: def foo(s: str):
s.
Of course, there is no general rule. This is true for the type of projects that I've been recently working on, which are small-scale distributed web systems.
If a new project demands a rigorous type system, I would probably go to something like PureScript[0] before going to C# clones like TypeScript. It seems that the compiler would help me a lot more in a language like that.
[0]https://www.purescript.org/