cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square61fedilinkarrow-up1393arrow-down18cross-posted to: programmerhumor@lemmy.ml
arrow-up1385arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square61fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up2·8 hours agoA funny, but incredibly subtle joke to do would be to do a post like this, but get the indentation subtly wrong somewhere, so something that’s supposed to be inside a loop is outside according to indentation, but is inside according to braces.
minus-squareenemenemu@lemm.eelinkfedilinkarrow-up12·2 days agoTo me it just looks like you do not need the braces at all
A funny, but incredibly subtle joke to do would be to do a post like this, but get the indentation subtly wrong somewhere, so something that’s supposed to be inside a loop is outside according to indentation, but is inside according to braces.
To me it just looks like you do not need the braces at all