4 ms·
There is probably no "correct" way of writing this, but there are ways of making your next code maintainer's life easier (which might be you in a few months fro
by mojuba 12y ago
There is probably no "correct" way of writing this, but there are ways of making your next code maintainer's life easier (which might be you in a few months from now). One line is easier to read and understand than 10, especially if that one line is just "return p".
- MrDosu 12y agoPersonally most of the time id rather have 10: main(int c,charv){return!m(v[1],v[2]);}m(chars,chart){returnt-42?s?63==t|s==t&&m(s+1,t+1):!t:m(s,t+1)||*s&&m(s+1,t);}
- mojuba 12y agoBut I meant return p, not some gibberish that obviously should be formatted better. It's just that for some developers "formatting better" doesn't translate to "make it shorter and sweeter".
- MrDosu 12y agoHow dare you call this beautiful, correct and award winning glob matcher gibberish shakes fist