All of lore.kernel.org
 help / color / mirror / Atom feed
* C++ Feature Whitelist/Blacklist
@ 2016-11-01 23:09 Brendan Higgins
  2016-11-02  0:53 ` Brendan Higgins
  0 siblings, 1 reply; 13+ messages in thread
From: Brendan Higgins @ 2016-11-01 23:09 UTC (permalink / raw)
  To: OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

At the OpenBMC meetup last week we discussed creating an authoritative C++
style guide as well as a feature whitelist/blacklist. I am going to try to
get an early style guide out fairly soonish (this week or next) that we can
discuss, but while I do that I would like to bring up the topic of
explicitly supported/unsupported features to discuss on the mailing list.
First off, I think it is something that would have much more discussion and
stronger opinions that would be convenient on gerrit/I would like to start
the discussion earlier. I also think that there will probably only be a few
things on that list, so discussion via email should not be overly
burdensome.

At the meeting Patrick brought up two features to blacklist:

   - Streams and stream style operators.
   - Virtual functions/runtime polymorphism

In the case of virtual functions, I get the sense that the use is more
discouraged rather than completely forbidden.

For the whitelist, the only current candidate is:

   - exceptions

In general, I suppose the notion of a whitelist is rather silly, but
exceptions have historically been a controversial feature of C++, so I
figured it best to explicitly call out.

I do not want to mischaracterize the arguments in favor of this proposal;
it also does not seem fair to offer up a viewpoint with little explanation
and critique it in the same breath, so instead I will post a follow up
email with what I propose for the whitelist/blacklist.

Cheers

[-- Attachment #2: Type: text/html, Size: 1632 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-11-09 18:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 23:09 C++ Feature Whitelist/Blacklist Brendan Higgins
2016-11-02  0:53 ` Brendan Higgins
2016-11-02 17:18   ` Patrick Williams
2016-11-03  0:02     ` Brendan Higgins
2016-11-03 12:03       ` Patrick Williams
2016-11-07 10:25         ` Nancy Yuen
2016-11-07 19:57           ` Patrick Williams
2016-11-09 17:59             ` Nancy Yuen
2016-11-04  9:46     ` Nancy Yuen
2016-11-07  3:44       ` Patrick Williams
2016-11-07 10:26         ` Nancy Yuen
2016-11-07 22:37           ` Andrew Jeffery
     [not found]   ` <E611E1DD-010C-4F96-9368-C6265082325C@fuzziesquirrel.com>
2016-11-02 18:03     ` Brendan Higgins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.