> you don't learn from it.

I strongly disagree. I used this strategy for learning how to reverse engineer and hook functions in a game with C++ and learned a ton.

I also used this strategy to learn Imgui and it worked great. Before LLMs I did this when learning from books too.