3 ms·
> We need to rethink what is important: a little more performance, or representing (to our best possible guess) what the programmer actually intended. I rememb
by maxlybbert 9y ago
> We need to rethink what is important: a little more performance, or representing (to our best possible guess) what the programmer actually intended.
I remember reading an old book about implementing a compiler. The book actually recommended that compilers should make an effort to fix simple mistakes; e.g., compilers should add semicolons if needed, check whether an undefined variable or function was actually a misspelled variable or function, etc. I wasn't sure whether I should laugh at the naivety or shudder about what kind of code that would have led to. Especially given that each compiler would be lenient in different ways from competing compilers.
- umanwizard 9y agoThis is basically what happened in real life with HTML, with the results you predict.