The best way for a junior dev to use AI is to treat it like a code reviewer. Write your own solution first, then ask the AI how to optimize it or what edge cases you missed, rather than letting it generate the initial logic.
100%! Flipping the workflow is the ultimate hack. Write the code yourself to build the mental muscle, and then use the AI to challenge your assumptions or spot missing edge cases.