gpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agono caplemmy.mlimagemessage-square34fedilinkarrow-up1638arrow-down135
arrow-up1603arrow-down1imageno caplemmy.mlgpw@lemmy.ml to Programmer Humor@lemmy.ml · 1 year agomessage-square34fedilink
minus-squaregrue@lemmy.mllinkfedilinkarrow-up6·1 year agohttps://duckduckgo.com/?q=abuse+of+the+c+preprocessor
minus-squareZucca@sopuli.xyzlinkfedilinkarrow-up3·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.