3 ms·
> must be as unambiguous as possible (so that a computer can understand it) A nitpick. Unambiguity (and other language features) is extremely important not tha
by friendzis 4y ago
> must be as unambiguous as possible (so that a computer can understand it)
A nitpick. Unambiguity (and other language features) is extremely important not that a computer can understand the language (it can), but rather that the understanding (or interpretation) of a program by programmer and computer are the same.
Bugs like off by one, use after free and similar issues quite often stem from this misunderstanding.
- estebank 4y agoSource code is mainly a communication tool for other people, and less importantly, instructions for a computer. At the same time, compilers are an error reporting tool with a code generation side-gig.