That kind of reasoning only makes sense to someone who can already program and has forgotten that they once did not know how. If you do not know what tools you have or how they work, you can never learn how to solve problems with them.
FIRST you learn to use the tools, THEN you learn how to apply them.