@JeremyCherfas Also FWIW, I find a key element of learning a lot of things is learning how to reliably diagnose where something has gone wrong. Some systems make it easier to directly observe intermediate steps and errors in context than others.
You will get a lot of use out of focusing on learning debugging as a skill in itself. There's a good (and very short!) book on this, Debugging [smile.amazon.com] by Agans. One of my co-workers has also written extensively on the topic; you'll find an example and some good links to more in this latest post on the topic [bignerdranch.com].
/@streakmachine