API Design: Boolean Trap

One of the best articles I read recently!
This make me think that I don't know many important thing about API Design :(

Boolean API parameters destroy code readability. After reading it I can agree and I will try avoid it in my code.Fun to read, strongly recommend!

API design principles are from Nokia QT library but as author explains they in the root are language agnostic, at least for similar to C languages.


Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

How to use NPM packages from private repositories on bitbucket