Code humor and inclusiveness
Code humor and inclusiveness
Posted Jun 12, 2021 14:36 UTC (Sat) by willy (subscriber, #9762)Parent article: Code humor and inclusiveness
Posted Jun 12, 2021 15:24 UTC (Sat)
by magfr (subscriber, #16052)
[Link] (1 responses)
Posted Jun 12, 2021 15:35 UTC (Sat)
by chris_se (subscriber, #99706)
[Link]
I personally tend to write [0..INT_MAX-1] to be extra clear, because the ) in [0, INT_MAX) could theoretically even be a typo -- on German keyboard layouts "]" is "AltGr + 9", while ")" is "Shift + 9".
Code humor and inclusiveness
Code humor and inclusiveness