2016-11-08 There is a great thread running at Debianforum.de, currently. [0] The question is about the best way to implement an is-leap- year function. If you take a look at the version in the Java standard library, which someone posted, you get the creaping horrors! public static boolean isLeap(long year) { return ((year & 3) == 0) && ((year % 100) != 0 || (year % 400) == 0); } This is so bad that the author should pay compensation for all the problems he causes. To me, this will long be the great exam- ple for a worst practice of anti-human optimiziation. (It cannot even be considered to be pro-computer in today's times; though at the same time it's in the worst way anti-human.) [1] (There are some more details in the German language forum thread.) [0] https://debianforum.de/forum/viewtopic.php?f=34&t=162892&p=1110287 [1] https://debianforum.de/forum/viewtopic.php?f=34&t=162892&p=1110287#p1110287 http://marmaro.de/lue/ markus schnalke