3 ms·
I mostly agree, however I don't like the idea of making code easy for novices to understand as a primary goal. That's because may imply not using some powerful
by GuB-42 10y ago
I mostly agree, however I don't like the idea of making code easy for novices to understand as a primary goal.
That's because may imply not using some powerful constructs out of fear they may not be well understood by beginners. I think it is better to imagine that the next person reading your code will be better than you and that he is going to judge you.
So don't hold back, use your clever tricks, but make sure you use them correctly otherwise you will look like a fool.
Also, never say never. All non-deprecated features of the language can be used : goto, inline, macros, you name it. You just need to know how to use them wisely.