Programming is just part of making a game, but can easily take all your capacity to learn it. You need to learn planning, estimation, graphics, music, either creating them yourself or working with artists, marketing, writing, dealing with distribution, community management, the list goes on.
You could say “making your own music is a good way to learn” and you’d be right, but if your goal is shipping a game, and learning game development, making your own music and building your own engine is not the way to do it. Unless your goal is learning these disciplines, not making a game.
Since you haven’t said it either… This is in France.