r/cpp • • Mar 22 '18

Vote for best concepts terse syntax

https://doodle.com/poll/dewpn58rt4uwvb7t
3 Upvotes

9 comments sorted by

21

u/iaanus Mar 22 '18

Think kind of polls is moot, IMHO, especially since it takes place right after the Jacksonville C++ committee meeting, where the subject has been discussed at length and the outcome of such discussions hasn't been disclosed yet. By the way, the poll is also unfair, since the provided references are wrong: P0750 is not the paper about the "{} syntax" and P0956 is not the paper about the "Original syntax".

16

u/pdbatwork Mar 22 '18

Using doodle for this kind of vote is so bad. Use a strawpoll or something.

1

u/tpecholt Mar 22 '18

Concepts terse syntax is still a hot topic in std comittee. Several proposals vere published. Obviously they have different tradeoffs and they are pushed by different people with more or less influence. I am interested in what would people here choose so I created a simle doodle voting table (disclaimet: I am not a comittee member)

6

u/doom_Oo7 Mar 22 '18

Whatever as long as we can have auto as function parameter.

3

u/Z01dbrg Mar 22 '18

Wow, what an ugly poll.

Just bunch of links(although technically links should be clickable) and expectation that people voting will bother to read 5 papers...

LOL

3

u/_taiyu Mar 22 '18

Posting the options with the links here since the poll formatting sucks

2

u/germandiago Mar 22 '18

Herb Sutter's syntax best in my opinion. Followed by adjective syntax, which I think it is longer but very uniform.

1

u/fraillt Mar 24 '18

Adjective syntax is quite nice, but I strongly disagree on making 'auto' optional. Just imagine 'C x = getVal();' compiler knows what 'C' is but programmer can only guess. C++ is already hard to parse, dont make it harder, especially when context in which expression is used can change when someone can introduces new type in some totally unreleated place!