The prompt was almost as much work as the code, and there was no way to write that prompt without a CS education and/or years of development experience.
I have found that this applies to many Crafts.
Cutting wood is easy. Simple really. Crafting an attractive and functional chair requires discipline. Designing it? Brilliance.
Presumably you have time to write your own code as a developer, since you're not being paid to be a farmer or carpenter?
If you are optimizing for an end goal rather than enjoying the process... What is that goal? Why does it matter?