𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 8 days agoParadoximagemessage-square61linkfedilinkarrow-up1721
arrow-up1721imageParadox𝙈𝙞𝙖@quokk.au to Programmer Humor@programming.devEnglish · 8 days agomessage-square61linkfedilink
minus-squaresolrize@lemmy.mllinkfedilinkarrow-up34·8 days agoI had to look it up, DLC is downloadable content.
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up14·8 days agocome the fuck on string bigIfTrue(Boolean size) { string toAssign = ''; if (size == true) { toAssign = 'big'; } else { toAssign = 'small'; } return toAssign; }
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up2·8 days agohey, this is for fun and pseudocode.
minus-squarefruitycoder@sh.itjust.workslinkfedilinkarrow-up2·7 days agoThis actually gets loaded as a WASM module by a server less API service when a user ask if true return big
minus-squareNihilore@quokk.aulinkfedilinkEnglisharrow-up16·8 days agohttps://imgs.xkcd.com/comics/ten_thousand_2x.png
I had to look it up, DLC is downloadable content.
Big if true
come the fuck on
string bigIfTrue(Boolean size) { string toAssign = ''; if (size == true) { toAssign = 'big'; } else { toAssign = 'small'; } return toAssign; }Bloat. Nobody asked for else.
Or assignment. Just return.
true ? 'big' : '';Where’s your interface and factory?
hey, this is for fun and pseudocode.
This actually gets loaded as a WASM module by a server less API service when a user ask if true return big
That is indeed a big one!
https://imgs.xkcd.com/comics/ten_thousand_2x.png