2 ms·
I remember someone posted an HN post about tips for competitive programming. Some of the code I saw in there is horrific and I would never approve in a PR but d
by augbog 8y ago
I remember someone posted an HN post about tips for competitive programming. Some of the code I saw in there is horrific and I would never approve in a PR but definitely makes sense when you're coding with a time crunch.
In general, I would say while there might be some useful concepts there, you are not missing out. It's an interesting form of programming but not the same as what you would expect to do at work.
Terrible analogy but I'll go with it: just like how you'd probably never be expected to Iron Chef your way in a formal restaurant. You don't have a bunch of random ingredients and present what you can as long as it fits the theme. The customer asks what they want and if you don't have it or can't have it, making something else isn't acceptable most likely so the proper way to handle it is to ask the customer what they want instead and you give them your sincerest apologies.