|
|
|
|
|
by nextaccountic
970 days ago
|
|
but programmers don't write underspecified notational shortcuts, because those are soundly rejected as syntax errors by the compiler or interpreter this is not about semantics (like dependent types etc) this is just syntax. it works like this in any language. the only way to make syntax accepted by a compiler is to make it unambiguous ... maybe LLMs will change this game and the programming languages of the future will be allowed to be sloppy, just like mathematics |
|
You can think about it as type inference on steroids.