4 ms·
Depends on the source code and docs. Some projects have great docs, others have almost none and the learning process verges on “oral tradition”
by gentleman11 5y ago
Depends on the source code and docs. Some projects have great docs, others have almost none and the learning process verges on “oral tradition”
- xmprt 5y agoI agree. With Javascript projects and frameworks, documentation can be extremely hit or miss in a way that I don't experience with other language like Python, Java, or Go.
- deleted 5y ago[deleted]
- Mathnerd314 5y agoI think the idea is that, as you get good at spelunking through source code, it becomes faster to find the answer in the source than to do anything else. E.g. I was wondering how division worked in Java, and right after searching for "ArithmeticException" in openjdk I ended up looking at HotSpot's implementation of div. Turns out (based on a source code comment) that it's defined in the JVM spec, but how would I have known that? Some codebases don't have source available, e.g. Windows, so there I guess one would use the docs.