2 ms·
Language design affects how good autocomplete and error messages can be. That is hugely important. Having said that, this article doesn’t advocate “ident: Type
by Someone 7y ago
Language design affects how good autocomplete and error messages can be. That is hugely important.
Having said that, this article doesn’t advocate “ident: Type”, it advocates ”marker ident: Type”.
That marker is essential for ease of parsing and thus for autocomplete (it won’t try to autocomplete the ‘ident’ part by looking at variables in scope or function names, for example) and error messages (it could signal when name shadowing occurs, for example)