Click here to Skip to main content
15,902,860 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralC++ has lost its way? Pin
Mike Winiberg29-Apr-24 21:47
professionalMike Winiberg29-Apr-24 21:47 
GeneralRe: C++ has lost its way? Pin
David O'Neil29-Apr-24 22:12
professionalDavid O'Neil29-Apr-24 22:12 
GeneralRe: C++ has lost its way? Pin
Mike Winiberg30-Apr-24 0:02
professionalMike Winiberg30-Apr-24 0:02 
GeneralRe: C++ has lost its way? Pin
pkfox30-Apr-24 10:35
professionalpkfox30-Apr-24 10:35 
GeneralRe: C++ has lost its way? Pin
Daniel Pfeffer29-Apr-24 22:15
professionalDaniel Pfeffer29-Apr-24 22:15 
GeneralRe: C++ has lost its way? Pin
Maximilien30-Apr-24 2:17
Maximilien30-Apr-24 2:17 
GeneralRe: C++ has lost its way? Pin
jschell30-Apr-24 12:30
jschell30-Apr-24 12:30 
GeneralRe: C++ has lost its way? Pin
Mike Winiberg30-Apr-24 20:54
professionalMike Winiberg30-Apr-24 20:54 
A few vaguely related further comments: TL;DR - just my musings 8)

"If you don't use it you don't pay for it" is - IMHO - a good philosophy, and why C++ remains such a good dev environment for cutting edge stuff. It is indeed perfectly possible to use C++ as an 'improved' C and only adopt specific features - but surely in that case you might as well go for a dev environment that is more closely matched to the domain you are working in (if one exists of course)? Attempting to stick with C++ when it isn't a good fit can lead to the kind of thing you see today with web app dev: I regularly see devs posting about the 'stack' they use, sometimes comprising 20 or more different frameworks all bolted together using another framework, simply to create simple web pages that could be easily produced with just HTML and CSS (itself a bit of a dog's breakfast IMHO!).

---

Never has KISS been more appropriate than in some of today's dev processes. The interdependencies of such 'stacks' make the whole thing so fragile that one defect or change in the hosting environment can bring the whole thing tumbling down. Pile on the inappropriate adoption of 'Agile' processes and TDD and you end up with the kind of mess you see in the UK on so many GOV.UK web pages: The pages pass all their tests and hence are deemed 'correct' and yet don't perform as the users have a right to expect: I have one classic example that I have reported repeatedly but which has still not been fixed after many years: paying your vehicle excise duty:

You are sent a document with a 16 digit number in the same format as a credit card: 4 groups of 4 digits. When you type this into the online form, if you include the spaces and don't notice that the input box only accepts 16 characters (ie you lose the last 3 if you include the spaces), then complete the rest of the page, when you hit submit the page fails but the error message is displayed next to the box itself which by now is off the top of the screen. You have to scroll back up to see it! There is no warning in advance that the spaces must be omitted. Either accepting and ignoring or silently dropping the spaces is a very simple thing to implement but hasn't been done - a typical noob web dev mistake.

It gets better though: a bit later you have to enter your card details, which comprise a 16 digit number in four groups of 4. On this page you can enter this with or without spaces and it is accepted quite happily. By chance I met a dev working for GOV.UK on this stuff: he couldn't see the problem, the page passed all its tests...

---

With the exceptions of a very early device that interacted with live TV and the Transputer (I even helped develop an assembler for the Transputer as it didn't have one), I have never been involved with anything that needed the maximum possible performance from the underlying hardware; instead reliability and stability have always been the most important features (even for financial market-making stuff).

---

"old libraries": I much prefer, if at all possible, to work with open source tools, even though most of my work in recent years has been for Windows and SQL. At least that way you have the possibility of fixing things if the provider of the library goes silent (or even becomes malicious - see node.js passim), although the costs of doing so may be more than the project is worth! Sometimes - in a specific domain - that may simply not be possible.

IMHO the problem with C++ is not in the language itself per se; it has simply 'grown' so many features to maximise performance for all sorts of different use cases that the skillset and knowledge one needs to acquire to make the best use of it has become greater than that needed to solve many of the problems you might want to address - in other words it has become the domain of technical specialists rather than jobbing programmers (like me!).

---

As for enthusiasm, I have never lost that incredible excitement I first felt in my teens when I got a computer to do something I wanted by writing software for it - that's why, despite being well past retirement age I am still working - albeit part-time Smile | :)
GeneralRe: C++ has lost its way? Pin
Member 1456470930-Apr-24 22:29
Member 1456470930-Apr-24 22:29 
GeneralRe: C++ has lost its way? Pin
Mike Winiberg1-May-24 0:11
professionalMike Winiberg1-May-24 0:11 
GeneralRe: C++ has lost its way? Pin
Member 145647091-May-24 0:25
Member 145647091-May-24 0:25 
GeneralRe: C++ has lost its way? Pin
Mike Winiberg1-May-24 0:28
professionalMike Winiberg1-May-24 0:28 
GeneralRe: C++ has lost its way? Pin
jschell1-May-24 13:02
jschell1-May-24 13:02 
GeneralRe: C++ has lost its way? Pin
vladest1-May-24 2:45
professionalvladest1-May-24 2:45 
GeneralRe: C++ has lost its way? Pin
SeattleC++1-May-24 8:48
SeattleC++1-May-24 8:48 
RantAI rejected my post Pin
Salvatore Terress29-Apr-24 16:46
Salvatore Terress29-Apr-24 16:46 
GeneralRe: AI rejected my post Pin
David O'Neil29-Apr-24 21:56
professionalDavid O'Neil29-Apr-24 21:56 
GeneralRe: AI rejected my post Pin
RainHat30-Apr-24 1:56
RainHat30-Apr-24 1:56 
GeneralRe: AI rejected my post Pin
Richard Andrew x6430-Apr-24 3:37
professionalRichard Andrew x6430-Apr-24 3:37 
GeneralRe: AI rejected my post Pin
Salvatore Terress30-Apr-24 6:04
Salvatore Terress30-Apr-24 6:04 
GeneralRe: AI rejected my post Pin
jeron130-Apr-24 6:27
jeron130-Apr-24 6:27 
GeneralRe: AI rejected my post Pin
Nelek30-Apr-24 9:00
protectorNelek30-Apr-24 9:00 
GeneralRe: AI rejected my post Pin
jschell30-Apr-24 12:33
jschell30-Apr-24 12:33 
JokeDoctor: "I have good news and bad news" Pin
honey the codewitch29-Apr-24 14:38
mvahoney the codewitch29-Apr-24 14:38 
GeneralRe: Doctor: "I have good news and bad news" Pin
Amarnath S29-Apr-24 17:49
professionalAmarnath S29-Apr-24 17:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.