So my advice to beginner programmers who want to learn a new language is to read code - find a #FOSS project you want to contribute to like I did with OpenDungeons and Godot, and learn from your peers.
And write some.
And sure, using books or tutorials in parallel helps :)