writing the prompt takes more time than just writing the code
jotux on Hacker News
In the thread “AI will happily design the wrong thing for you”, replying to this comment
Got in the way: Tools propose complex, over-engineered solutions for simple bit manipulation tasks.
… make a base struct with a virtual map function, then template a struct to hold the register with functions to extract bits, then make unique pointers to each register, then create a vector of pointers to map all the values, etc. You can write a very clear, and long, prompt that explains not to do any of that and just pull the bits out of the byte, but writing the prompt takes more time than just writing the code. These tools seem to always reach for, what I would call, the pristine solution as their first attempt and I think many would call that gold-plating.