3 ms·
You'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 ti
by argv_empty 14y ago
You'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.