hate coded and optimized
You "hate coded", BUT you went backed, and fixed the solution with better code (examples: more elegant algorithm, efficient use of memory, better performance, better use of data structures, easier to read and/or maintain, added comments, added unit testing, etc)
I solved day 3 of the Advent of Code, and I hate coded and optimized a solution.
hate coded
When you're in a hurry to solve a programming problem, and your solution results in a shittiest-rushed-even-yo-mama-would-be-embarrassed-of-you-algorithm, but it get the damn job done.
I was solving day 3 of the Advent of Code, and I hate coded the worst fucking solution! I'm not proud of it, but it worked.