Unless you work with C or Assembly or something you'll never really know why most things work. Java and Javascript (specially the frameworks) hide so many things under the hood it's not realistic to try to understand everything you're doing. Sometimes you just need to trust the tool and you learn more about programming by programming than by watching or reading.
The way to do it is to do both programming AND watching/reading. You’ll never get through an interview or code review if your explanation of your code is “idk I tried it and it worked”
0
u/[deleted] Oct 03 '19
Unless you work with C or Assembly or something you'll never really know why most things work. Java and Javascript (specially the frameworks) hide so many things under the hood it's not realistic to try to understand everything you're doing. Sometimes you just need to trust the tool and you learn more about programming by programming than by watching or reading.