News for hackers. Stuff that matters.
Re:Why people think C++ is complicated? by crapnewdevs on Thursday July 02, 2015 @09:34AM (#9818704)
C++ is not complicated, it a language that offers a range of features and paradigms, and doesn't make you pay for what you don't use, unlike some languages. However, modern "developers" are often impatient, have a frame of reference that everything is ruby or js, not to worry about any resources (they are infinite, right?) and think all their problems can be solved via gem or npm install. The modern software stack has therefore become a bigger pile of more diseased turtles, all the way down.
Re:Why people think C++ is complicated? by jahnu on Thursday July 02, 2015 @09:45AM (#9818783)
It sure is complicated, and I say that as a full time c++ dev who sees it in a generally favourable light.

There is a huge amount of knowledge that you need to pick up over the years before you can consider yourself even an advanced c++ programmer let alone an expert.

In my experience it's way more complex than c, JavaScript, Python and any Lisp. However, you can use it in a c-like fashion and avoid some of the complexity but if you want to work with anyone else's code then you have little choice but to learn that complexity.

Re:Why people think C++ is complicated? by TeMPOraL on Thursday July 02, 2015 @09:47AM (#9818800)
It is complicated compared to many other languages - that's why I wrote that I didn't find it this way - I didn't know any other language then, so C++ level of complication became my baseline (which made me find most other languages seem very simple).
Re:Why people think C++ is complicated? by TeMPOraL on Thursday July 02, 2015 @09:42AM (#9818757)
It's hard for me to disagree with that given what often passes for "teaching people to code". I don't find being introduced to a high-level web framework as a good way to begin. You end up typing magic into a file within a big folder structure you have no idea about why it's there, and installing yet another library for every trivial task.

One think I loved when learning C++ (and which makes me feel it's not complicated) is that pretty much everything felt like a logical decision if you understood you're just one step above metal. Now I know I was mistaken back then in some ways (by e.g. believing that C memory model is exactly how things are done in hardware). I now believe that every language will feel logical and reasonable if you end up learning about the reasons why it looks like it does and its relationship with what your hardware does.

Re:Why people think C++ is complicated? by rockdoe on Thursday July 02, 2015 @09:46AM (#9818791)
C++ is not complicated

We need some frame of reference or objective standard, but I'd say: that is wrong.

Re:Why people think C++ is complicated? by crapnewdevs on Thursday July 02, 2015 @10:13AM (#9818965)
Anything can seem complicated, or like magic, until you take a little time to learn about it. I am always wary of people claiming other languages are not complicated, or easy, because then I realise they probably have not really learnt that other language either, and are making superficial comparisons based on their lack of knowledge and experience.
Re:Why people think C++ is complicated? by rockdoe on Thursday July 02, 2015 @10:42AM (#9819181)
The problem with C++ is that the more time you take to learn it, the deeper the rabbit hole goes.

For most languages I have the feeling I'm getting more proficient as I use them. Not so much with C++, especially if you get exposed to other people's code.