News for hackers. Stuff that matters.
Re:Nim 1.6 by bobbylarrybobby on Tuesday October 19, 2021 @10:24AM (#28918413)
Practically speaking, it’s almost impossible to miss braces. If you’re copying and pasting, you can place your cursor anywhere inside the desired pair of braces, paste, and the autoformatter will figure it out.

Ideally an autoformatter would also add braces around a one-line if statement as well.

Re:Nim 1.6 by je42 on Tuesday October 19, 2021 @10:34AM (#28918515)
it is very possible... I often paste parts of some code into a lambda and missing a brace here and there.