3 ms·
Very interesting point and I also feel similar a need to "overoptimize" my code when I program something in C. This is specially notable when working with strin
by ufo 12y ago
Very interesting point and I also feel similar a need to "overoptimize" my code when I program something in C. This is specially notable when working with strings: In high level languages I use strings concatenation and splitting willy nilly but in C all those strcats and for loops "feel" suboptimal so I have a tendency to write hairy code full of pointers and strtok.
- toolz 12y agoDevelopers are a strange bunch. I've never heard someone say, "Wow, look at that optimized code! I can't wait to work with this dude!". However, I have heard many times, "Working with this person is great. They do everything from expressive code, to small logical commits to make my life easier." It's almost as if many of us would rather be seen as an elite, rather than seen as a pragmatic developer.
- XorNot 12y agoI usually just tell myself "bad code gets run". Optimizing string concatenations and the like is something I can do after the code is done, doesn't leak, and has enough form that I can write function tests around it. Its not something to do before.
- otikik 12y agoNext time you feel the urge, think about me. I will be there. Looking at your code. Judging you.