3 ms·
This has to be a joke Everyone has this reaction when first exposed to this class of languages and their implementations - everyone. You're unfamiliar with the
by gruseom 14y ago
This has to be a joke
Everyone has this reaction when first exposed to this class of languages and their implementations - everyone. You're unfamiliar with the style, and you're confusing that with it being ugly/unreadable/dumb. I assure you it's anything but.
Now let's page silentbicycle and get him to explain :)
- argv_empty 14y agoYou're unfamiliar with the style, and you're confusing that with it being ugly/unreadable/dumb. I can't speak for GP, but I promise you I've spent plenty of time reading code with single-letter identifiers. If I'm going to have to actually understand some code, I'd much prefer descriptive names.
- jasonwatkinspdx 14y agoWhile I personally dislike this style of c, you should know that j/k/apl style languages are focused around a very small number of operators. In this sense they are a mathematical notation (and in fact, APL was designed as a rationalized mathematical notation first, programming language later). So the single character identifiers are not intended as something application specific, or mutable values. They are like +, *, %. That said, I still think it's better to stick to the conventions of the implementation language when writing an interpreter, rather than attempt to contort it half way to your target language. If you want a self hosted implementation, just write a compiler.