News for hackers. Stuff that matters.
Re:Ask HN: How do you learn new libraries without much docum... by quanticle on Saturday July 11, 2020 @05:34AM (#23800763)
If you have the source code to this library, `find` and `grep` are your best friends. If nothing else, you should be able to find other usages of the code you're looking to use (or maybe even tests), which will let you know how that code is supposed to be used. The other things to look for are classes, functions, or modules that aren't used by other code in the library. Those tend to be the "top-level" code intended to be called by application code. Seeing how those are structured and what functionality they expose can be a great way to discover functionality that documentation leaves out.

There are no comments on this comment yet.