Public

#programming #api
The Pitfalls of Boolean Trap
The Pitfalls of Boolean Trap

Good little article about the pitfalls of using boolean values as parameters for a function. Not the first time I've seen this sort of thing (I'm sure I read a similar article years before, and a similar thing in a coding book even earlier).

Still good advice.

At least it's a little better in languages with keyword arguments.

·ariya.io·
The Pitfalls of Boolean Trap
Pinboard API (v1) Documentation
Pinboard API (v1) Documentation
API documentation for Pinboard. Given that there appears to be no good Emacs client available, I think I'm going to have to crack and make one at some point.
·pinboard.in·
Pinboard API (v1) Documentation