Re:Modern C++ Won't Save Us (2019)
by HexDecOctBin on Sunday April 25, 2021 @10:37PM
(#26938693)
I wonder, has Bjarne Stroustrup even shipped any industrial-grade software? Because he's mostly an academic AFAIK.
[ Parent
| on HN ]
Bjarne Stroustrup is a Director at Morgan-Stanley, a major investment bank in New York where software difficulties may cost millions of dollars per minute. He has described his workday as people coming to him with a difficult software engineering problem, about which he asks increasingly detailed questions until light dawns, and they go away ready to re-write the badly designed subsystem causing the trouble.
Often, just the act of explaining your problem to someone results in possible answers. (see Rubber Duck Debugging https://rubberduckdebugging.com)
When using a "rubber duck" I think you just force yourself to turn loose thoughts into coherent ideas by having to express them clearly. This can reveal some problems that were not apparent before the idea was expressed. It's a "rubber duck" because it's really just a monologue and an inanimate object could do the job of the listener.
What's described above seems more like Socratic questioning, where a person asks questions that reveal facets of an idea that the person being asked may not have considered, thereby prompting the asked to rethink their assumptions and draw new conclusions.
Everybody describes their own day like that
Re:Modern C++ Won't Save Us (2019)
by PaulDavisThe1st on Sunday April 25, 2021 @10:42PM
(#26938719)
I have no idea what "industrial grade software is", but I ship a cross-platform DAW written in C++, and RAII is tremendously awesome.
Re:Modern C++ Won't Save Us (2019)
by HexDecOctBin on Sunday April 25, 2021 @10:57PM
(#26938794)
Are you saying that it is better than the alternatives? Have you tried writing code from a grouped-resources perspective? What was your conclusion?
Re:Modern C++ Won't Save Us (2019)
by PaulDavisThe1st on Monday April 26, 2021 @10:43AM
(#26943009)
I don't see grouped resources as an alternative to the way we use RAII. It doesn't mean that the approach doesn't have its own merits, but it doesn't cover the things we do with RAII. The architecture of a DAW isn't much like a server that responds to requests, even if there are elements of it that do correspond to that pattern.
Alternatively, you are referring to something I'm not aware of.
Re:Modern C++ Won't Save Us (2019)
by hardlianotion on Monday April 26, 2021 @10:15AM
(#26942709)
Edit - Already answered in more detail, below.
He is at Morgan Stanley,
https://www.morganstanley.com/profiles/bjarne-stroustrup-man...
I don’t know how close he is to the grind, but I imagine he at least talks to people who are reasonably often.