4 ms·
Absolutely. If something is oddly slow, I run the profiler to see what's going on. If the profiler shows me something boneheaded like this that is a big win to
by w0mbat 4y ago
Absolutely. If something is oddly slow, I run the profiler to see what's going on. If the profiler shows me something boneheaded like this that is a big win to fix, I fix it. Obviously I make sure the tests still pass, but then I check it in. If someone is going to give me shit for improving the product, that is not somewhere I want to work.
- tomschlick 4y agoThe boy scout "leave it better than you found it" mantra has always served me well. Hell, sometimes that small fix can lead you down a rabbit hole that uncovers fixes to larger problems that have been plaguing an app for an eternity.
- dylan604 4y agoWhat of those odd stories where somewhere else in the code another dev realized the segment of code was doing strange things and create a work around that now breaks because of the cowboy anything goes attitude changes? Usually with comments talking about it "being very weird to do this, but it works"
- tomschlick 4y agoIf the tests dont fail thats not my problem.