3 ms·
Definitely my experience as well. My dark horse is trying to optimize for speed when i don't need it, and not doing it when i do. When i was more naive, i'd ju
by themoonisachees 3y ago
Definitely my experience as well. My dark horse is trying to optimize for speed when i don't need it, and not doing it when i do.
When i was more naive, i'd just stick with the first solution that worked. Now, i find that i'm always worried that someone is going to try to input a 30000-line csv in my tool and that i must use the slightly faster way because it's the right thing to do.
One of my tools to prevent this has been the non-accepted answers from stackoverflow. I find that they are generally of similar quality to the accepted answer, but that because they are less tailored to the (necessarly) different problem, they fit less and have a lesser chance of being accepted despite being more useful to more people.