RFC: 8247976: Update HotSpot Style Guide for C++14 adoption
Kim Barrett
kim.barrett at oracle.com
Thu Jul 2 13:36:20 UTC 2020
> On Jul 1, 2020, at 8:28 PM, David Holmes <david.holmes at oracle.com> wrote:
>
> On 2/07/2020 3:16 am, Kim Barrett wrote:
>
>> That's particularly true for SFINAE; I suspect most people (including
>> me) have to stop and think about it to correctly recall its expansion,
>> and nobody actually uses or cares about the expansion. Even more so
>> for "Expression SFINAE"; one would never say or write "Expression
>> Substitution Failure...".
>
> I think "Expression SFINAE" is a grammatically meaningless phrase.
"Expression SFINAE" is the (informal) name of a C++ feature (which
doesn't have a formal name, per se; it's part of [temp.deduct] and
[temp.over]).
>> I'm considering going back to always using the "term" in normal text,
>> with a parenthetical expansion on first use. I find the latest
>> approach jarring, as the specialized terms are the normal usage.
>
> Only if you think this document's audience is C++ experts who happen to be working on hotspot, rather than hotspot developers who will have a wide range of experience in C++. I obviously consider it to be the latter.
The only reason "Expression SFINAE" isn't just a simple entry like this:
* Expression SFINAE
([n2634](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html)
in the Permitted Features list is that I ran into some seriously weird
bugs in obscure corners, so decided to add a few words of caution.
I'm assuming some C++ competence and willingness to do a little
research to fill in knowledge gaps. The abbreviated forms are common
usage, and if one doesn't already know what they mean, the expansions
don't provide much of a clue.
More information about the hotspot-dev
mailing list