Tweet

Replying to @josecastillo

Step four: simplify further. There’s only one peripheral touch controller peripheral, so no need to clutter the API with us passing the instance in to every function call. Now all of our function calls require either one parameter, or none at all! https://github.com/joeycastillo/gossamer/commit/d81ece931257e2b347021e290fa088035bbbd045#diff-ec2df5939f797a356115c0392fa15a954640d094f34a8ac1070abda09794e4cc

(original)