cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoWhat's stopping you from writing your Rust like this?lemmy.mlexternal-linkmessage-square60fedilinkarrow-up1383arrow-down18
arrow-up1375arrow-down1external-linkWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square60fedilink
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up1·39 minutes 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