Oh no a “WOMAN” how disturbing to have these nowadays. /s
- 0 Posts
- 12 Comments
Zacryon@feddit.orgtoMicroblog Memes@lemmy.world•don't trust cloud services with creative workEnglish5·3 days agoDon’t use Google trash. Google is evil.
Haha, meaningful, informative comments that make it easier to understand the code of course. ;)
But I must o p t i m i z e! ó_ò
Yes, let’s spend two hours on figuring out optimal values of preallocating a vector for your specific use-case. It’s worth the couple of microseconds saved! Kleinvieh macht auch Mist.
That what comments and documentation are for.
I suppose it’s a matter of experience and practise. The more you wotk with it the better you get. As usual with all things one can learn.
I mostly see warnings when compiling source code of other projects. If you get a warning as a dev, it’s your responsibility to deal with it. But also your risk, if you don’t. I made it a habit to fix every warning in my own projects. For prototyping I might ignore them temporarily. Some types of warnings are unavoidable sometimes.
If you want to make yourself not ignore warnings, you can compile with
-Werror
if using GCC/G++ to make the compiler a pedantic asshole that doesn’t compile until you fix every fucking warning. Not advisable for drafting code, but definitely if you want to ship it.
Let’s not forget billionaires in this consideration.
Crowdstrike already showed very impressively the danger of monopolies.