4 ms·
> Maybe stack-based languages are indeed less readable than alternatives. That may be the case, but taking a core language feature and commenting "I don't like
by creata 6y ago
> Maybe stack-based languages are indeed less readable than alternatives.
That may be the case, but taking a core language feature and commenting "I don't like it, change it" isn't a very effective way to encourage discussion, in my opinion.
- tom_mellior 6y agoIt's a form of feedback. Yes, it would have been better feedback if the author had also supplied an example of how they think this could be improved. But I don't believe that that should be required. Anyway, here's a rough idea. Introduce some special token, like : for example, and add a special syntax rule in the parser that "a: b" is parsed as if it had been written "b a". Then people who find it more readable can write say: "hello" while others can continue to write "hello" say and surely everyone would be happy!