3 ms·
Too often frameworks end up also changing the grammar, but doing it in a clunky unnatural way, shoehorning it into the language with tons of boilerplate code th
by erikj 9y ago
Too often frameworks end up also changing the grammar, but doing it in a clunky unnatural way, shoehorning it into the language with tons of boilerplate code that could have been eliminated with a few simple macros.
- ngrilly 9y agoA framework cannot change a programming language grammar without using macros. Most framework provide new types, functions, classes, constants, etc., which are expanding the vocabulary, not the grammar. You can use the English language to express ideas on very different topics (food, law, engineering, romance, etc.) without changing its grammar.