Read for game design.
Learn to program for game programming.
They are separate topics, there is no real way to learn them both at the same time. You could try to learn programming by writing a game, but it is better to learn programming in general and then apply it to games.
gamasutragamedev