News for hackers. Stuff that matters.
Re:How to Get Fired Using Switch Statements and Statement Ex... by quantumet on Thursday October 15, 2020 @06:57PM (#24795306)
My favorite "extremely compact C" style:

   if (*len * ("11124811248484"[*type < 14 ? *type:0]-'0') > 4) { ... }
because naming lookup tables is clearly too verbose. Among other interesting decisions.
Re:How to Get Fired Using Switch Statements and Statement Ex... by userbinator on Thursday October 15, 2020 @10:32PM (#24796835)
I pretty much understood that line right away... it's not that different from the code I'm used to reading and writing (embedded, low-level stuff), which just shows that even within C alone there can be a huge range of style from APL-terse to mind-numbingly-Enterprise-Java verbose.