Hacker News new | ask | show | jobs
by esseeayen 1741 days ago
I don’t agree with the Big O notation question as useless to know. I once had a programmer that had come from marketing background who taught himself to code. Could get things started but when he had to do a data processing job he used jq in bash because “nothing is faster than bash” then wrote his code in On^n which took days to run. When I tried to explain that it was inefficient the way he was doing it because it had to iterate over and over for each entry and explained algorithmic complexity and how to do it faster and wrote up some quick code in python he got in a huff and tried to proclaim “nothing is faster than bash”.

For those who may assume the system was memory/storage limited and that’s why it was written that way, no we had enough memory and storage.