3 ms·
It would be nice if the norm for these "X in N lines of Y" posts didn't count comments toward the line count. (I also wish people would use more descriptive var
by jmharvey 13y ago
It would be nice if the norm for these "X in N lines of Y" posts didn't count comments toward the line count. (I also wish people would use more descriptive variable names, but I suppose that would make the code longer.) Compact code is a neat trick, but compact, easily readable code is something we can learn from.
- scarecrowbob 13y agoIndeed... I mean, we could just "compile" it if we really wanted to optimize for line numbers. It's neat to see what can be done in tiny amounts of code, though.
- BoppreH 13y agoSome contests count _tokens_ instead of chars. It fixes the problem nicely, but it doesn't have that charm of a block of magical code that fits on the back of a card.