Click here to Skip to main content
15,902,112 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.

 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter PinPopular
OriginalGriff16-Jan-18 2:43
mveOriginalGriff16-Jan-18 2:43 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus16-Jan-18 2:47
mvaraddevus16-Jan-18 2:47 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
BGArts17-Jan-18 5:54
BGArts17-Jan-18 5:54 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Mike Hankey16-Jan-18 3:06
mveMike Hankey16-Jan-18 3:06 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Gary Huck17-Jan-18 3:04
Gary Huck17-Jan-18 3:04 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
KarstenK16-Jan-18 3:14
mveKarstenK16-Jan-18 3:14 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
wout de zeeuw16-Jan-18 3:54
wout de zeeuw16-Jan-18 3:54 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
ddt_tdd16-Jan-18 21:28
ddt_tdd16-Jan-18 21:28 
Those NASA engineers are real engineers sticking to their language they know C/C++. Don't get me wrong, I do like C/C+ (especialy C++11/14), but maybe it would be better they created a DSL (Domain Specific Language) for the control units ( at base station and at space-probe).
In stead of using runtime type checking, they could have done compile time type checking, preventing the overhead of the meta-data for the Run Time Type checking. These practices is all well written in the book "Compilers: Principles, Techniques, and Tools" (1st edition dates from 1986). The DSL uses the ISO standard as types and the translator-part of the compiler can add conversion code when they use non ISO standard.
It will not prevent human errors, but it will make it more clear what's going on when you use a Meter-type instead of a Feet-type if you writing down the calculation in the source-code of the computer.

to err is human; to forgive, divine

GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Gary Wheeler17-Jan-18 2:09
Gary Wheeler17-Jan-18 2:09 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus17-Jan-18 3:08
mvaraddevus17-Jan-18 3:08 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Abbas A. Ali18-Jan-18 1:04
professionalAbbas A. Ali18-Jan-18 1:04 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus18-Jan-18 1:55
mvaraddevus18-Jan-18 1:55 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Stuart Dootson16-Jan-18 23:50
professionalStuart Dootson16-Jan-18 23:50 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
molesworth17-Jan-18 1:53
molesworth17-Jan-18 1:53 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus17-Jan-18 2:49
mvaraddevus17-Jan-18 2:49 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
James Lonero17-Jan-18 6:18
James Lonero17-Jan-18 6:18 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
firegryphon17-Jan-18 9:41
firegryphon17-Jan-18 9:41 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
BryanFazekas17-Jan-18 2:16
BryanFazekas17-Jan-18 2:16 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus17-Jan-18 2:38
mvaraddevus17-Jan-18 2:38 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Dale Margel17-Jan-18 4:11
professionalDale Margel17-Jan-18 4:11 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
James Lonero17-Jan-18 6:05
James Lonero17-Jan-18 6:05 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
Gerry Schmitz17-Jan-18 9:08
mveGerry Schmitz17-Jan-18 9:08 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
firegryphon17-Jan-18 9:34
firegryphon17-Jan-18 9:34 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
kalberts17-Jan-18 10:06
kalberts17-Jan-18 10:06 
GeneralRe: Stroustrup on NASA's loss of $654 million Mars Climate Orbiter Pin
raddevus17-Jan-18 11:22
mvaraddevus17-Jan-18 11:22 

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.