News for hackers. Stuff that matters.
Re:Ask HN: How do you learn new libraries without much docum... by chrisco255 on Saturday July 11, 2020 @05:03AM (#23800647)
If there isn't good documentation, then you have to learn the library by studying the source code. I will sometimes create my own notes on libraries as I go through module by module. This is time-consuming to be sure, especially up front. You'll pay a high price today for better control and speed with using the library down the road.

As you iterate through each module in the source code, ask yourself what each function or class does, what its purpose is, whether there are any side effects or what sort of state changes occur when a method is called (if any).

There are no comments on this comment yet.