3 ms·
Pretty much this, I'm a good not great programmer, I know this and I accept it however because I hang around the communities of the various languages and projec
by noir_lord 9y ago
Pretty much this, I'm a good not great programmer, I know this and I accept it however because I hang around the communities of the various languages and projects I'm interested in I get exposed to the great programmers and so I find myself comparing myself to them and the result is unflattering.
Then I remember that I'm dealing with a collective group that represents the top end of the community (self selection pays a part, people who go home and carry on programming with passion are not representative of the average programmer I've worked with).
As an example on friday I took something that used to take 140s to render in the browser (not kidding - it also used 3GB of RAM per request and returned 27MB of 'XML' after I lifted the limit to stop PHP throwing an OOM exception) and made it take under a second (by adding indexes to joined fields, implementing server side pagination, tuning the mysql instance and then finally writing a vue component wrapper over the implementation of the datatables library the system uses).
Literally none of that was advanced nor voodoo, it's something I'd expect any programmer on here to be capable off but there are so many bad programmers who just skate by producing terrible code with no thought put into things at all.
The final kicker was that it now searches three times as many fields including sales lines (on a sales order you'd kind of expect it should have done that to start with).