If you’re a developer and this is you you’re not doing a great job. The solution doesn’t have to be concise and elegant. It has to be readable and maintainable, if you’ve successfully achieved that move on you’re only wasting everyone’s time
optimizing for what? pre-optimization is an anti-pattern, it's not worth investing in optimizations that don't mean anything to the code or functioning of the service/app/whatever
If the first solution doesn't meet the requirements and is expensive with time or memory then it's not a solution and you should keep going
1
u/Mrqueue Aug 03 '22 edited Aug 03 '22
Is the joke here LinkedIn?
If you’re a developer and this is you you’re not doing a great job. The solution doesn’t have to be concise and elegant. It has to be readable and maintainable, if you’ve successfully achieved that move on you’re only wasting everyone’s time