3 ms·
Surprised I got all the questions right because I tend to code around those limits, sticking to defining always safe types for the problem at hand, in all the c
by antirez 4y ago
Surprised I got all the questions right because I tend to code around those limits, sticking to defining always safe types for the problem at hand, in all the cases I'm not sure about ranges, possibile overflows and so forth. What I mean is that if you have to remember the rules in a piece of code you are writing, it is better to rewrite the code with new types that are obviously safe.
- bornfreddy 4y agoAdmittedly my C is (very) rusty, but I was surprised at how few of the answers I knew, so your comment made me feel even worse. But then I saw your nickname. Yeah. :) (redis rocks btw) Completely agree with you, and not just in C. Using esoteric features of any language is equivalent to putting landmines in front of your teammates - bad idea.
- tomxor 4y ago> Using esoteric features of any language is equivalent to putting landmines in front of your teammates Also, outside of production code, using esoteric features is a good way to get familiar with every corner of that language - which is useful so that you can diffuse those landmines when they are accidentally created. i.e know them to avoid them.