Live data from Hacker News

3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

stroustrup.com

51–60 of 231 posts

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#51

Oh, he switched to QT for the GUI chapter. That's a significant change from FLTK. Should be well received as QT is popular in industry. Not sure how the learning curve will be affected.

He uses a custom wrapper library, so not sure how much (if anything) of QT proper is exposed.

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#54

[flagged]

It helps to understand the rationale behind the language choices. Though, sure, if Linus Torvalds ever put substantial effort into writing a concise book on programming in C, I’d choose that over Kernigan & Ritchie’s great starter book.

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#55
post #17

I miss my days working with C++. It's moved further down the development stack than where it used to be. We used to handle UI, API parsing, and pretty much everything using C++.

I still tinker on a game engine personal project just to scratch the C++ itch. I really like using C++, despite all the hate it gets.

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#56

Oh, he switched to QT for the GUI chapter. That's a significant change from FLTK. Should be well received as QT is popular in industry. Not sure how the learning curve will be affected.

For the better, with Qt there is QtCreator.

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#57
post #17

I miss my days working with C++. It's moved further down the development stack than where it used to be. We used to handle UI, API parsing, and pretty much everything using C++.

I felt some nostalgia for Fortran a while ago. Spent half an hour programming in it, cured. Maybe take a shot at parsing JSON in C++ and see if the nostalgia survives the process.

It took 30 minutes to cure you?!?

One of the first things I did when I got my PiDP-11 which can run RSX-11M and the DEC fortran compiler. I spent many many hours programming in Fortran when I was in college and thought wow I could relive some of that, about 5 minutes in I was "okay, step slowly away from the console." :-)

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#58

Earlier quoted context omitted.

Why is that? I'm genuinely curious. Also, what languages / environments do you prefer?

Not gp but I prefer rust to python and I'm itching to try that "just write your build scripts and stuff in rust too" Sure the builds are slow and Python _kinda_ has static typing, but rust just has a lot of stuff I like and it's practical to install and use natively without learning all the jargon like venvs and eggs and wheels and which package manager and package manager manager (rye?) to use this year I tried Pyth…

The idea of using Rust for scripting is bizaar.

I can understand not wanting to use Python for everything, but I see the problem being the 'use it for everything' not the language choice.

Use the tool that excels at the job. There is no language that is good at everything.

Re: 3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup

#59

I've always wanted to learn C++. I have a great handle on C#, making large applications and architectures as well as legacy refactoring in C#, and I would love to learn C++. I recently started at a company with a bit of a hairy c++ application that I would love to refactor or understand more thoroughly. Is this book a good place. Note that I have read a very basic book on C++ much more learning programming book, but…

I would be wary of older literature. They're often full of classic polymorphism, something that modern c++ has largely moved away from.
Post reply on HN