4 ms·
I wasn't all that impressed with the code - too 'clever' and concise for me. I wouldn't be surprised if it let a bunch of unexpected inputs through as another
by dajt 9y ago
I wasn't all that impressed with the code - too 'clever' and concise for me.
I wouldn't be surprised if it let a bunch of unexpected inputs through as another commentor pointed out.
That may have been okay back then but in today's hostile environment and with so many people around that aren't natural programmers who dream of pointers you probably want something a bit more verbose.
I've been programming C since the late 80s so I'm not a new-comer. But I'm not a fan of that code even though I can understand it okay.
The more experience I get and the more people I work with, the simpler I like my code to be. I'll always take simplicity over speed and concision if I can.