News for hackers. Stuff that matters.
Re:Brian Kernighan on C [video] by andrepd on Tuesday August 18, 2015 @08:28PM (#10083040)
No it doesn't, assuming there is an ounce of coordination and everyone is on the same page on coding standards and so forth.
Re:Brian Kernighan on C [video] by alayne on Tuesday August 18, 2015 @08:48PM (#10083109)
cma hit the nail on the head and you dismissed it.

Two departments or companies aren't going to use the same subset of C++.

Coding standards also evolve over time as languages evolve and better ideas about software engineering happen. 2015 C++ is much different than 2000 C++. Unless you always work on greenfield development with coworkers that strictly follow the same standards and C++ subset and you never do any kind of maintenance work, you will need to learn more parts of C++ than you may personally wish to use or learn.

Re:Brian Kernighan on C [video] by andrepd on Tuesday August 18, 2015 @10:43PM (#10083437)
What I mean to say is that that isn't the language's fault. It's up to the users to decide to make use of features they need, and obviously it's their responsibility to live with the headaches a misuse/overuse of C++ may bring.

I guess I just don't understand why people consider "too many features" to be a shortcoming.

Re:Brian Kernighan on C [video] by alayne on Tuesday August 18, 2015 @11:33PM (#10083540)
I'm not arguing about too many features and you know it.

Complexity and subtleties in a large language can make it difficult to write correct software.

Re:Brian Kernighan on C [video] by pzone on Wednesday August 19, 2015 @06:14AM (#10084560)
Yes, it is harder to write correct software in C++ than in other languages. But if the project you are working on needs to be written in C++, explicit coding standards and the general project environment can play a huge role in whether it is a lot harder, or just a little bit.

I can point to one policy that guarantees safety becomes much easier: prefer modern C++14 idioms whenever possible.

Re:Brian Kernighan on C [video] by angersock on Tuesday August 18, 2015 @09:47PM (#10083288)
assuming there is an ounce of coordination and everyone is on the same page on coding standards and so forth.

That's a mighty large assumption.

Typical physicist--at least you can approximate many C++ developers as spheres!

Re:Brian Kernighan on C [video] by andrepd on Tuesday August 18, 2015 @10:46PM (#10083446)
I don't think it is. Is it really so much to ask for developers in a team to decide on interoperability standards? I assume people on a team don't just start coding with zero coordination.
Re:Brian Kernighan on C [video] by alayne on Tuesday August 18, 2015 @11:44PM (#10083573)
Even if you had people agree on standards, there would be misunderstandings and people would deviate. Have you ever worked with standards for any sort of protocol/process/language? Try it some time.
Re:Brian Kernighan on C [video] by mikeash on Tuesday August 18, 2015 @09:12PM (#10083187)
What if you want to use a library?
Re:Brian Kernighan on C [video] by andrepd on Tuesday August 18, 2015 @10:47PM (#10083450)
What about it? If you decide to use a library, then you should learn to use it, no?
Re:Brian Kernighan on C [video] by mikeash on Wednesday August 19, 2015 @10:17AM (#10085629)
Then my C++ is no longer my chosen subset of C++, but rather the union of my subset and the subset used by the library. C++ is no longer "what you make of it" but what I make of it plus what the library author made of it. Bring in multiple libraries and you start to approach the entirety of the language again.