Live data from Hacker News

Zed Shaw on C++

librelist.com

61–70 of 210 posts

Re: Zed Shaw on C++

#61
post #40

Earlier quoted context omitted.

Alexandrescuisms has 2 hits on google including this page. To what are you referring?

Start here: http://en.wikipedia.org/wiki/Andrei_Alexandrescu

Wow, had no idea he was at Facebook now.

Loki is neat, even if it does represent everything that is evil about C++.

Re: Zed Shaw on C++

#62

I've seen this pattern a lot when it comes to the order of learning/mastering languages: C, then C++, then back to C

and then C can still be such a hoop jumping burden, so write some smart C libs for Lua.

Re: Zed Shaw on C++

#63
post #52

Earlier quoted context omitted.

"There isn't another language that has both the large-scale modularization given by OO and low-level efficiency of direct pointer manipulation and other C features." Objective C?

Arguably this might be true, however if you add another requirement to the list Joe posted it isn't. Cross platform code is important to many people. I work on large scale, performance intensive, cross platform applications. Microsoft tells me I should be doing everything in C#. Apple tells me I should be doing everything in Objective C. I just get on with it and use something that works. A language that gives me the…

gcc compiles Obj-C, but without some of the improvements apple has made. I personally wish Obj-C were more common because mindshare is a real issue.

Re: Zed Shaw on C++

#64

Earlier quoted context omitted.

"const *const char &" is not valid C++ syntax, so I'm pretty sure you can't increment it. Therefore, anyone saying you can increment it doesn't understand it. QED.

There's this thing called a joke . . . I believe that's waht Zed is making here.

Perhaps you could point out the funny bit.

Re: Zed Shaw on C++

#66

Earlier quoted context omitted.

"const *const char &" is not valid C++ syntax, so I'm pretty sure you can't increment it. Therefore, anyone saying you can increment it doesn't understand it. QED.

There's this thing called a joke . . . I believe that's waht Zed is making here.

Yes, of course. When you agree with the rant, the incorrect parts don't count.

Re: Zed Shaw on C++

#67
post #15
post #4

There appear to be a lot of good rants against C++. To name a few: * Linus Torvalds : http://lwn.net/Articles/249460/ * C++ Frequently Questioned Answers : http://yosefk.com/c++fqa/ Are there any good passionate pro C++ versus C arguments?

"There appear to be a lot of good rants against C++....Are there any good passionate pro C++ versus C arguments?" By definition, the people who write the "entertaining" rants against C++ have an axe to grind. The people who like C++ just silently use it , and feel no need to write advocacy blog posts for the language. Even if they were to blog about it, it would be about as compelling as someone advocating for their…

The people who like C++ just silently use it

Indeed. At my last job, working on trading software, we had around 35 maths or physics PhDs working on a C++ application. A few had personal blogs (cats, children, steam engines, etc) but as far as I am aware no-one there argued on the Internet about which language was best. C++ just doesn't attract self-publicists the way Ruby seems to.

Re: Zed Shaw on C++

#68
post #44

I've seen this pattern a lot when it comes to the order of learning/mastering languages: C, then C++, then back to C

After getting use to the STL containers... I could never go back to pure C. I use C++ daily and love it. Nothing against C (if that's what you like) it's a great little language. Why is it that C programmers bitch about C++, but C++ programmers don't bitch about C?

C is still the foundation of C++. So programming in C++ made me respect C. And many great libraries are C (OpenGL, SQLite, zlib, etc.).

Re: Zed Shaw on C++

#69
post #11

Earlier quoted context omitted.

The best pro C++ argument is that for all its flaws there's nothing out there that completely replaces it and it's still widely used. My own view: I'm not in love with C++, but it's not nearly as bad as everyone makes it out to be. Most of the arguments I hear against C++ are the same tired things I've heard hundreds of times. They all have a grain of truth, but nothing so bad as to condemn the language.

My short rant: C++ is as bad as they say it is. It is horrible, it is the worst language in the world ... except for all the other (a la Winston Churchill and democracy). The horrifical complexifications of C++ are just terrible, yet every one of them has a reason behind it. And also, the horrifical complexities are a bit more optional than the horrifical complexities of, say, Java. There isn't another language that…

What do you think about D?

Re: Zed Shaw on C++

#70
post #56

Earlier quoted context omitted.

For some concrete examples of the above: WebKit, Chromium, Gecko, and V8 are all C++. My impression is that there is a very high startup cost with C++ to getting it working on the platforms you want to support and picking the subset that isn't going to screw you. Once you get over the hurdle, the improved memory management (I agree with the post Zed is ranting in response to) starts to pay dividends.

V8 is hardly a ringing endorsement for C++. Just sayin.

Somebody below said just the opposite. Personally, I find V8 really nice to read and work with.

Which part of it do you not like?

Post reply on HN