Programming
Article
By Harry Fuecks

How do you learn how to use a library?

By Harry Fuecks
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

Following an interesting discussion on Sitepointforums, a rough poll.

If you’re getting started with some class library, like one of the many in PEAR, which of the following (if any) steps do you take to work out how to use it (and in what order)?

a: Examples package with the code

b: API docs (such as that generated by phpDocumentor or the PHP manual)

c: Reading the source code

d: Any packaged documentation (such as tests and READMEs)

e: Guessing method names (with IDE help) and parameters.

f: Online tutorial (e.g. those on Sitepoint or a developers WIKI)

g: Pair programming

h: Print magazine articles

i: Book chapters

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?