cm0002@lemmy.world to Programmer Humor@programming.dev · 2 个月前What's stopping you from writing your Rust like this?imagemessage-square61fedilinkarrow-up1411cross-posted to: [email protected]
arrow-up1411imageWhat's stopping you from writing your Rust like this?cm0002@lemmy.world to Programmer Humor@programming.dev · 2 个月前message-square61fedilinkcross-posted to: [email protected]
minus-squareenemenemu@lemm.eelinkfedilinkarrow-up15·2 个月前To me it just looks like you do not need the braces at all
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up5·2 个月前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
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.