4 ms·
The particular example of the language could have been done with distinct words, not a single overloaded word that depends on order of placement. More decorator
by a3n 14y ago
The particular example of the language could have been done with distinct words, not a single overloaded word that depends on order of placement. More decorator-like, for example.
- n00b101 14y agoint * - pointer to int. int const * - pointer to const int. int * const - const pointer to int. int const * const - const pointer to const int. I'm not sure what type of grammar could have been used to make this easier. Nobody said that indirection is easy, but indirection IS essential.
- a3n 14y agoEverything on the right of the dash in your example, or something like it. If you have to use other words to describe what something is, why not use the other words in the first place?
- wtallis 14y agoAll he did was reverse the order of the types. Right-to-left parsing really isn't that complicated, and mimicking English grammar is not as good an idea as you think it is.
- angrycoder 14y agoCOBOL++, hey it still has a C in it.
- ithkuil 14y agoADD 1 TO COBOL GIVING COBOL (well to be fair, 'add 1 to cobol' should be enough)
- frankzinger 14y agoBecause it requires too much typing, especially for something you use all the time. Seriously, the syntax is not that difficult to understand and remember.