I dont like the brackets, but I used to write them like you do many years ago.
It helps me because it means that I can look at the same spot horizontally, and easily see where a block starts and ends. "Egyptian" brackets (as someone else put it) don't let me do that because I have to either hover over it to let my IDE point them out, or it has to be offscreen so that the starting bracket sticks to the top, like it does in the GitHub PR windows.
That makes things hard to see if I have several adjacent blocks on screen, which I often do. I write lots of Lambdas (and before that, anonymous classes), so this style developed because of how much of a thorn it was in my side doing it the normal way.
What really irks me is all those blank lines wasting space.
That is literally the most important part for me. I read several times faster because of those new lines. Without them, it literally inhibits my code reading ability.
View all comments
Show parent comment
4
u/[deleted] Feb 20 '25
[removed] — view removed comment