4 ms·
B.e.a.utiful. I mean, he is a good programmer, but I’ve seen him (even in other projects) optimizing codes prematurely, which allows vulnerabilities to slip in
by esjeon 8y ago
B.e.a.utiful.
I mean, he is a good programmer, but I’ve seen him (even in other projects) optimizing codes prematurely, which allows vulnerabilities to slip in. I understand the temptation, but many of his projects are mostly not performance critical. Not a good habit.
- alexeiz 8y agoWhat's your definition of a good programmer? Does the one who writes a lot of code and takes shortcuts meet that definition?
- kevin_thibedeau 8y agoThis isn't an optimization. It is pretending that C is like managed code and using the stack as a glorified garbage collector to avoid the responsibility of freeing memory. He did the same with his alloca() misuse. I would hope that they turn on -Wvla to find any more of these landmines.