Re:Ask HN: How do you learn new libraries without much docum...
by quanticle on Saturday July 11, 2020 @06:01AM
(#23800876)
The corollary to this is, "If there aren't tests, start by writing some unit tests on your own that exercise the library's functionality."
Re:Ask HN: How do you learn new libraries without much docum...
by mercora on Saturday July 11, 2020 @06:39AM
(#23801054)
maybe its just me and my avoidance of unit testing but often when i tried this it appeared overly complex at setting things up for testing and the code you need is buried in between some dozens tests and their setup. I think its a good idea to look at them but more often then not i did not want to get through this and just tried to understand the code flow by reading the source.
If it's proprietary and closed and obfuscated then you need to familiarise yourself with reverse engineering toolsets.