gpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agono caplemmy.mlimagemessage-square31fedilinkarrow-up1452arrow-down130
arrow-up1422arrow-down1imageno caplemmy.mlgpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square31fedilink
minus-squaregrue@lemmy.mllinkfedilinkarrow-up5·1 year agohttps://duckduckgo.com/?q=abuse+of+the+c+preprocessor
minus-squareZucca@sopuli.xyzlinkfedilinkarrow-up2·1 year agoHoly unholiness, Batman! I did expect those kinds of tricks would cause syntax error in #defines, but instead looks like everything is allowed… Some day someone #defines a such abomination that it creates universe wide black hole -like vacuum and everything ceases to exist.
https://duckduckgo.com/?q=abuse+of+the+c+preprocessor
Holy unholiness, Batman!
I did expect those kinds of tricks would cause syntax error in #defines, but instead looks like everything is allowed… Some day someone #defines a such abomination that it creates universe wide black hole -like vacuum and everything ceases to exist.