Bit of a nitpick: but I just noticed this while writing a sketch and it resulted in some stupid bugs. Made a micro-screencapture to clarify:
Now, this is mostly normal behaviour: the closing curly brace is not entered until you press enter. However, because it's on the last line, the closing brace is hidden! So I kept adding extra closing braces manually, leading to silly bugs.
Is there a reason for not immediately closing {}, like with [] and ()?
Bit of a nitpick: but I just noticed this while writing a sketch and it resulted in some stupid bugs. Made a micro-screencapture to clarify:
Now, this is mostly normal behaviour: the closing curly brace is not entered until you press enter. However, because it's on the last line, the closing brace is hidden! So I kept adding extra closing braces manually, leading to silly bugs.
Is there a reason for not immediately closing
{}
, like with[]
and()
?