Today I learned that the pattern of using a fetch combined with throwing and caching errors inside a react application is an anti-pattern. This made me think, are there any resources on how to actually write good code to extend just writing working code? It is kind of hard to just cobble together something that would constitute good code without having a guide to look at.
I’ve found a lot of the “good” habits I’ve gotten into are due to learning Python to begin with… Python code will generally fail if it’s not formatted properly. I’d recommend having a go at that; I found the book “Learn Python The Hard Way” a really good introduction if you feel a need to understand how and why it is that certain code works as it does. It has made my progress on FCC much smoother!