Re: Style(9): Allow // comments

Greg 'groggy' Lehey <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Organization The FreeBSD Project
Message-ID <[email protected]>
On Tuesday, 26 July 2022 at 15:03:34 -0600, Warner Losh wrote:
> So, is it time to allow C++ comments? I think so.
>
> https://reviews.freebsd.org/D35960
>
> Comments about how I said it? In the review.
> Comments on whether or not we should do it? Reply here.

My question would be: why do it?  Then we have two different comment
styles, and there's no obvious (to me) reason why we need that.
There's a lot of stuff in style(9) that prohibits perfectly acceptable
styles, like the myriad brace conventions.  Why not allow them too?
Sooner or later, style(9) might become irrelevant.

In addition, do all editors DTRT with // comments?  Allowing them
might confuse them.

What would bde have said?

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php
signature.asc (application/pgp-signature, 163 B)
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAmLgrVIACgkQIubykFB6QiNzfwCffUDh1UbMLaYJvx3DLfKKgEix
QbkAoK/wQ8Ew6JNKj7AwpN1AlGNqBQ1+
=OX9V
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.