Re:Planck.js – JavaScript rewrite of Box2D physics library
by fdsfsafasfdas on Thursday April 06, 2017 @04:33PM
(#14054318)
Conversely, after the initial struggle getting the ideas behind it, examples are worthless and documentation is king.
Re:Planck.js – JavaScript rewrite of Box2D physics library
by abetusk on Thursday April 06, 2017 @05:08PM
(#14054640)
Sometimes. Examples are good at giving concrete working code to use as a basis but they only express a few ideas. Documentation will let you understand the different pieces so you can build what you like.
Both are beneficial for different scenarios. I find I use examples much more often but when examples fail, documentation is necessary.
Re:Planck.js – JavaScript rewrite of Box2D physics library
by franciscop on Thursday April 06, 2017 @05:38PM
(#14054877)
Good documentation has tons of examples! For me the gold documentation is jQuery. When I didn't know enough JS the beginning was cryptical but the examples below made it, when I was experienced I could just read the beginning for the footprint.
One of the biggest criteria I have for using a library is whether they have a rich set of examples to draw from.