@[email protected] to Programmer [email protected] • 2 years agoThis is not a meme, I was trying to find content for an OC /c/programmerhumor post and found thisi.imgur.comimagemessage-square77fedilinkarrow-up1152arrow-down12
arrow-up1150arrow-down1imageThis is not a meme, I was trying to find content for an OC /c/programmerhumor post and found thisi.imgur.com@[email protected] to Programmer [email protected] • 2 years agomessage-square77fedilink
minus-squareGNU/Dhruvlinkfedilink7•2 years agoIt goes on the next line, so you can have open and close brackets at the same indent depth for easy visual matching.
minus-square@[email protected]linkfedilink4•2 years agoYour closing } goes on a new line below at the same indent depth as the line containing the open {!
minus-squareForbiddenRootlinkfedilink2•edit-22 years agofn main() { println!("WTF?"); } PS: I know what you meant
minus-squareTheInsane42linkfedilink2•2 years agoThis, as it also helps when using % to go to the matching open/close bracket when the cursos doesn’t jump all around the place…
It goes on the next line, so you can have open and close brackets at the same indent depth for easy visual matching.
Your closing } goes on a new line below at the same indent depth as the line containing the open {!
fn main() { println!("WTF?"); }
PS: I know what you meant
This, as it also helps when using % to go to the matching open/close bracket when the cursos doesn’t jump all around the place…