Day: September 13, 2016
Happy programmer day!
Programmers’ Day is an international professional holiday celebrated on the 256th (hexadecimal 100th, or 28) day of each year (September 13 during common years and on September 12 in leap years). It is officially recognized and observed in a number of countries. The number 256 was chosen because it is the number of distinct values that can be represented with a eight-bit byte, and 256 is the highest power of 2 that is less than 365, the number of days in a common year.
1 while (!apocalypse) 2 { 3 if (today.getDayOfYear() == 0x100) 4 { 5 programmers.congratulate(); 6 programmersDay.celebrate(); 7 } 8 }