Live data from Hacker News

Master C++ Programming with Open-Source Books

ossblog.org

31–40 of 106 posts

Re: Master C++ Programming with Open-Source Books

#31

Can you ever really master C++? I've been at it more than 20 years and I'm still delighted to learn new things about the language and the library.

And that's the real problem with C++. You can spend 20 years solving real problems with it and still feel like a noob when you take a look at "idiomatic" template code from the standard headers. On the other hand, people like Scott Meyers have spent their lifetime and careers explaining its intricacies, without solving any real problems.

Yep,the language it self became a problem.The designer and experts should(Which I hope) make the language easy to use without any mental burden.

Re: Master C++ Programming with Open-Source Books

#32
post #23

Can you ever really master C++? I've been at it more than 20 years and I'm still delighted to learn new things about the language and the library.

What do you use it for? It's such a complex language brimming with idiosyncrasies that I'd be inclined to really test anyone claiming to be a master. The standard is one thing, then there's the compiler you're using...

I claim on my CV to be an "expert" C++ programmer, but I'm quick to point out the curve that I imagine being graded on. At least in my head, there's an implied context around someone's C++ proficiency. An expert Java programmer should be able to answer most questions about Java. An expert C++ programmer should simply get to the "I have no idea" answers when the questions get interesting.

Re: Master C++ Programming with Open-Source Books

#33
post #7

Thank you so much, I have one question though, Is there any pdf version for "The Boost C++ Libraries"? I really need it.

I would consider using Chromium internal libraries as a boost equivalent. Theres a lot of good stuff in there.. Just get: src/base, src/ipc, src/net (and something else you are interested in) and you are good to go

> There's a lot of good stuff in there.

Also it can break any time.

Re: Master C++ Programming with Open-Source Books

#34
post #7

Thank you so much, I have one question though, Is there any pdf version for "The Boost C++ Libraries"? I really need it.

I would consider using Chromium internal libraries as a boost equivalent. Theres a lot of good stuff in there.. Just get: src/base, src/ipc, src/net (and something else you are interested in) and you are good to go

They are awesome as far I know too, but I don't know about their documentation status, Can I find my way out? Boost is very well documented and there is so much book about Boost, But I don't know about chromium internal lib .

Re: Master C++ Programming with Open-Source Books

#35

I have some C programming experience and I wanted to learn C++ so I bought and started reading Stoustrop's book, thinking it's the K&R of C++. It's the worst programming book I have ever read! It's introduction made me hate C++ and if I didn't had to work with other C++ libraries, I would have avoided C++. The text is full of bloat, for the lack of better word. It's the opposite of crisp writing. I read some good lan…

>thinking it's the K&R of C++.

You nailed it with that analogy though.

K&R is a "first book" and important historically, but right now it's an atrocious book if you want to learn current C and this has been the case for a long, long time.

Sometimes these first books don't withstand the test of time.

Re: Master C++ Programming with Open-Source Books

#36

I have some C programming experience and I wanted to learn C++ so I bought and started reading Stoustrop's book, thinking it's the K&R of C++. It's the worst programming book I have ever read! It's introduction made me hate C++ and if I didn't had to work with other C++ libraries, I would have avoided C++. The text is full of bloat, for the lack of better word. It's the opposite of crisp writing. I read some good lan…

[deleted]

Re: Master C++ Programming with Open-Source Books

#37

I have some C programming experience and I wanted to learn C++ so I bought and started reading Stoustrop's book, thinking it's the K&R of C++. It's the worst programming book I have ever read! It's introduction made me hate C++ and if I didn't had to work with other C++ libraries, I would have avoided C++. The text is full of bloat, for the lack of better word. It's the opposite of crisp writing. I read some good lan…

While it's rather introductory, "A Tour of C++" is a much more concise book. Read that and then maybe look at some Scott Meyers books (I haven't read "Effective Modern C++" but the other entries in the series are good and I'd expect this to be a good place to start after the tour book).

Re: Master C++ Programming with Open-Source Books

#38

Earlier quoted context omitted.

And that's the real problem with C++. You can spend 20 years solving real problems with it and still feel like a noob when you take a look at "idiomatic" template code from the standard headers. On the other hand, people like Scott Meyers have spent their lifetime and careers explaining its intricacies, without solving any real problems.

Yep,the language it self became a problem.The designer and experts should(Which I hope) make the language easy to use without any mental burden.

Make the language easy to use without any mental burden? But you do realize programming is not easy, especially when you're aiming for high performance. How can you make a language easy to use "without any mental burden"? Programming is hard, programming well and with performance in mind is even more so. Some things you just can't magically make easy.

Re: Master C++ Programming with Open-Source Books

#39
post #38

Earlier quoted context omitted.

Yep,the language it self became a problem.The designer and experts should(Which I hope) make the language easy to use without any mental burden.

Make the language easy to use without any mental burden? But you do realize programming is not easy, especially when you're aiming for high performance. How can you make a language easy to use "without any mental burden"? Programming is hard, programming well and with performance in mind is even more so. Some things you just can't magically make easy.

You can program with "performance in mind" in C and the big difference will be that the problem itself will be the obstruction, not the language.

In C++, you fight with the language first and then face the problem.

Re: Master C++ Programming with Open-Source Books

#40
I have experience with Objective-C, C#, and Python and I'm currently learning C++ for a course in "Advanced C++" at university. I'm using "C++ Primer" by Lippman et al. and think it's quite nice. It might be a bit to basic, especially the first few chapters, but I kind of like the exercises in each chapter.

Have anyone read it and know how it compares to the books recommended in this article?

Post reply on HN