cm0002@lemmy.world to Programmer Humor@programming.dev · 19 days agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square61fedilinkarrow-up1408arrow-down18cross-posted to: programmerhumor@lemmy.ml
arrow-up1400arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 19 days agomessage-square61fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareenemenemu@lemm.eelinkfedilinkarrow-up15·19 days agoTo me it just looks like you do not need the braces at all
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up5·17 days 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.
To 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.