4 ms·
Learning a programming language by looking at the formal grammar is like learning a spoken language just by reading a grammar textbook. No one actually does tha
by StefanKarpinski 12y ago
Learning a programming language by looking at the formal grammar is like learning a spoken language just by reading a grammar textbook. No one actually does that. Learning a language by reading the parser is even more ridiculous. That's like learning a spoken language by dissecting the brain of a native speaker. The way people actually learn languages – both programming and natural – is by seeing examples, reading explanations, and by trying things out.