DEV Community

Discussion on: Bitmasks: A very esoteric (and impractical) way of managing booleans

Collapse
 
somedood profile image
Basti Ortiz

I never knew that error logs had levels. No wonder they look like hexadecimal gibberish to naive users like me.

WebRTC has a pretty cool API for using bits rather than strings, such as 'forwards', 'backwards', or 'both', to describe media direction. I definitely want to see more of that in modern APIs.