My biggest mistake this month....is that I still haven’t quit my job 🤪. But actually, I’ve made a mistake of listening to my superior during PR. I had an elegant solution to a particular problem(a bit of a duck 🦆 typing in C# for 2 similar, but not related entities), he said it’s too complex(yeah, fill object’s properties and turn it into a desired type is soooo complex 🤣). Made me rewrite it into a bulk of copy-paste logic, that took 3x more space and looks awful(+ harder to maintain). He said it will cut some logic branching, but it did not at all, it has even increased it....
I know about reducing complexity and all for it, but it just triggers me, when developers complain about ‘complex’ solutions, just because they don’t know the language features and can’t utilize them(even though this feature fits the problem like a glove and was even introduced to solve such problems).
Sorry for the rant 🤭