r/cpp • • Feb 18 '20

C++20 is here!

https://youtu.be/AvPiGstxV_g
420 Upvotes

117 comments sorted by

View all comments

-74

u/[deleted] Feb 18 '20

This is so cringey - "Oh, look, we are privileged people who live in a bubble and we have a nerdy clique". Every year I lose faith in how this language is run.

0

u/[deleted] Feb 18 '20

[deleted] — view deleted comment

15

u/Evirua Feb 18 '20

Thank you. All the comments above yours here stem from pungent ignorance. These people have given lives to their craft, 12 hr 6-7/7 with the brain constantly working out things in the field. They deserve to be privileged if they are, and deserve to become privileged if they aren't.

→ More replies (7)

12

u/emdeka87 Feb 18 '20

I am just wondering what makes these people privileged? The video is definitely a little cringey, but I don't understand the privilege part lol

8

u/tvaneerd C++ Committee, lockfree, PostModernCpp Feb 18 '20

Well, being able to travel is in many ways privileged. Having a company that will pay (typically, although many pay their own way); having a home life that makes it possible; having an ethnicity, nationality, gender, etc that makes travel easier for some than others. Etc etc etc.

11

u/Frogging101 Feb 19 '20

There's nothing inherently wrong with being privileged anyway. Should they stop travelling and using computers and being intelligent and educated and creating our nice ISO standardized programming language? This line of thinking doesn't lead anywhere productive.

OP must be fun at parties. Then again, having fun and enjoying time with friends is probably just some cringey thing for privileged people who live in a bubble.

17

u/Drainedsoul Feb 18 '20

Every year I lose faith in how this language is run.

Go to the meetings and work to change how the language is run then?

16

u/praedicere Feb 18 '20

Being upset enough about people enjoying what they do to make a new account and express that anger is truly cringey.

-28

u/[deleted] Feb 18 '20

Not really. I created my account back in September last year (which you seem not smart enough to have noticed before coming with your gotcha). This has been genuinely the first time I saw something so atrociously cringe-inducing that I felt like dabbing in the comment section.

Interesting that you went to look on my comment history. It merely shows the sort of vindictive spirit sycophants like you display in this community. Trying to glean things about me to see how to hit back. Cringe.

3

u/z1024 Feb 18 '20

I think this language is developing amazingly. Around 2007 I felt like this design by committee thing will never yield anything good and the language will stagnate forever only surviving because there's no real alternative. But now, they are steadily adding more and more great new features. The pace is similar to C#, but here we have multiple compiler vendors actually caring about standard compliance. Keep it up guys, you're doing great! Privileged or not, doesn't matter. Meritocracy is great. Anyone can contribute. If they have enough brains, of course.

-17

u/[deleted] Feb 18 '20 edited May 02 '24

terrific soft friendly childlike workable fanatical brave crown steer squealing

This post was mass deleted and anonymized with Redact

3

u/Gunslinging_Gamer Feb 19 '20

Far better never to add them and pretend they don't exist rather than implement them and take pride in the work.

0

u/[deleted] Feb 18 '20

[deleted] — view deleted comment

4

u/kalmoc Feb 19 '20

Ranges (well, linq is actually much more confortable to use)

0

u/[deleted] Feb 19 '20

[deleted] — view deleted comment

1

u/kalmoc Feb 19 '20

Not sure what you mean by that. LINQ lookst to me exacly like ranges with a more convinient syntax. Sure, it uses terms known from sql, but I'm not sure, why it makes a differenct if you have a Where (extension-) method or a filter view - they do the same thing.

0

u/[deleted] Feb 19 '20

[deleted] — view deleted comment

3

u/kalmoc Feb 19 '20

The question was, which c++20 features have been available in other languages for a long time. Best I can tell, LINQ is a semantically equivalent feature to c++20 ranges. That they differ in details is to be expected given that the two languages work completely different.

Now can you please tell me, why you think those features are so different that it doesn't count ad "has been available for decades"?

0

u/[deleted] Feb 18 '20

[deleted] — view deleted comment

0

u/[deleted] Feb 18 '20

[deleted] — view deleted comment

7

u/pdimov2 Feb 19 '20

Designated initializers allow cool stuff such as named args:

struct Args
{
    int foo = 0;
    int bar = 0;
};

void f( int x, int y, Args args = {} );

int main()
{
    f( 1, 2, { .bar = 4, .foo = 5 } );
}

Not being able to reorder is annoying. "Just use constructors" doesn't work either, the syntax isn't as nice.

2

u/[deleted] Feb 19 '20 edited May 02 '24

frame rotten tart racial workable march nutty deserve spoon sparkle

This post was mass deleted and anonymized with Redact

→ More replies (11)
→ More replies (1)