DEV Community

Discussion on: Stating The "Obvious"

Collapse
 
ben profile image
Ben Halpern

I took a different approach with my answer, but the x isn't actually magic thing is super generally applicable. It took me a long time to realize that if I was confused about how a dependency worked, I can look at its code and maybe find my answer right there! This doesn't always apply, as somethings are closed source or potentially so convoluted that they might as well be magic, but in my line of work I often find answers right in the code I'm depending on.

Here's a post on reading tests to find answers which touches on this thought.