Creative Use of Bitwise Operators

Now this is pure genius! Jonathan Snook cleverly uses bitwise operators in order to nicely fill up a week calendar, as seen in Google Calendar amongst other likewise apps.

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

1 Comment

  1. Great use of bitwise operators, but it amazes me that so many people see them as useless. I feel that the less I use them, the more my code could be improved. Good code is impregnated with their use. Information is ultimately represented as bits, so let’s strive to operate at the lowest most efficient level.

Leave a comment

Leave a Reply to Mike Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.