tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: style change: explicitly permit braces for single statements
I've decided not to pursue this any further.
No objections if anyone else wants to take up the cause.
On 20-07-17 23:20, Alistair Crooks wrote:
| Just to get back to the original subject - fully support {} around single
| statements - have been doing that in my own code for ages.
|
| Would be great to have that codified (ha!)
|
| On Thu, 16 Jul 2020 at 12:01, Rhialto <rhialto%falu.nl@localhost> wrote:
|
| > On Thu 16 Jul 2020 at 13:08:49 -0400, Ted Lemon wrote:
| > > It sounds like we need a better tool. FWIW, when actually working on
| > > code, I've found that 120 is a better width than 80 -- with 80, there are
| > > just too many line breaks. But I don't mean to say that your
| > > preference is wrong -- what sucks is that we have to compromise, instead
| > > of having tools that present the text the way that we want to consume
| > > it without changing anything in the underlying file. E.g. web browsers
| > > just reflow the text when you change the window width. Why don't we
| > > have this for code editors?
| >
| > I have seen an editor (I think it was google's Android development
| > environment) that even went so far as to recognize some particular
| > boilerplate Java code fragments, and abbreviated them. You could unfold
| > them if you wanted though.
| >
| > I wasn't sure if I liked that or hated it.
| >
| > -Olaf.
| > --
| > Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
| > ___ Anyone who is capable of getting themselves made President should on
| > \X/ no account be allowed to do the job. --Douglas Adams, "THGTTG"
| >
Home |
Main Index |
Thread Index |
Old Index