One of my biggest growth moments as a programmer was realizing that libraries I use are just code, and I could read them directly rather than puzzling it out from the docs. Even today, I am surprised how much faster I move every time I start reading a layer I'm building on.

Feb 20, 2022 · 7:19 PM UTC

70
273
49
3,392
Replying to @gdb
Well, I find myself going through library code most times. I've had a situation where the documentation of a library wasn't sufficient for my solution, after trying for hours, I figured it out after going through their code.
3
Replying to @gdb
Done this for CPUs/hardware too, reading the Verilog source or schematic was easier than interpreting gaps in the documentation... Having non black box layers is a good thing.
3
Replying to @gdb
Hmm this is something I've never thought of doing. It does make sense, no matter how docs are, they can't cover the essence of a library the way the code can
2
Replying to @gdb
🤔
1
Replying to @gdb
that's part of why Delphi was brilliant. Could Ctrl+click all the way from your own code through the library source files down to OS API calls
4
Replying to @gdb
Yes. "Go to definition" is one of my favourite things.
3
Replying to @gdb
I may have to steal this :), one of many reason to stick with open source, where I can read code as opposed to struggling with doc. I will send it to my management when they want me to use any closed source layer.
2
Replying to @gdb
I barely use libraries at all and instead write my own utilities. It all compiles in seconds, is compatible with every system & in many cases even runs faster. It put me off when I once saw some simulation code needing 2 hours to compile because it used a library for every crap.
3
Replying to @gdb @Martin_Heinz_
Tooooootally. But it takes time to get started
1
Replying to @gdb
What were the other big growth moments you experienced?
1