SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Defensive Programming


Defensive Programming

Author
Message
Tom Thomson
Tom Thomson
SSC Guru
SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)

Group: General Forum Members
Points: 50662 Visits: 13159
r.hensbergen (4/23/2010)
Amazing how many people said 1859... Only halfway through WWII computers were really programmable (and used for military reasons) and the word was used as such... BTW programmers were all female at that time Smile

And just to confuse things, the programmers were (assuming you mean halfway through WWII and not 1859) called "lady computers", and the machines were called something quite different.

Tom

webrunner
webrunner
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16764 Visits: 4141
P Jones (4/23/2010)
I originally wondered if it was by Charles Babbage or Ada Lovelace as it was appropriate even then.


Yeah, I was thinking maybe Charles Babbage or Ada Lovelace, guessed 1859, and got it wrong. Turns out that Ada Lovelace had died in 1852 anyway, although Babbage didn't figure in the correct answer either.

- webrunner

-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and says Can I join you?
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
Daniel Bowlin
Daniel Bowlin
SSCoach
SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)SSCoach (17K reputation)

Group: General Forum Members
Points: 17428 Visits: 2629
This is still true today. Humans haven't really changed that much since this was written. We are not more accurate, we are not faster, and we still can't get out of the way of our own assumptions. So we endeavour to think, think, think, test, test, test, and do our best to learn from experience, and if we are lucky/good we can also learn from the experience of others.
SanjayAttray
SanjayAttray
SSCrazy Eights
SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)

Group: General Forum Members
Points: 8399 Visits: 1619
Got it wrong. Even can't find correct answer in Wikipedia.

http://en.wikipedia.org/wiki/Defensive_programming

and some examples: http://www.tushar-mehta.com/excel/vba/vba-defensive_programming.htm

SQL DBA.
hanziou
hanziou
SSC-Enthusiastic
SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)SSC-Enthusiastic (104 reputation)

Group: General Forum Members
Points: 104 Visits: 49
I the title of the paper really "The diagnosis of mstakes in programmes on the EDSAC" by S. Gill,? I.e. is "mistakes" purposely misspelled by S. Gill? Or was that a transcription error by the QOTD poster?
tosscrosby
  tosscrosby
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: General Forum Members
Points: 11016 Visits: 5316
Woohoo - 6 points for a GUESS! I figured in WWII and assumed mid-fifities and beyond were just a little late. Technology started rolling pretty fast even back then so I took a stab in the dark and WON!! ~pats self on back~ Cool

-- You can't be late until you show up.
Ken Wymore
Ken Wymore
SSCrazy Eights
SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)SSCrazy Eights (9.6K reputation)

Group: General Forum Members
Points: 9610 Visits: 2470
A nice research question. I got it right because of Google.

If I had not looked it up, I would have guessed a much earlier date. Initially I figured that it was a reference to some sort of general logical thinking and that the programmes were either military programmes, using arithmetic in devising trajectories, forecasting, etc or some other sort of programmes used in mechanical engineering from the industrial revolution. Glad I looked it up!
Always Learning
Always Learning
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1726 Visits: 3359
An interesting and article; the applicability of which seems to become more poignant each year.

http://www.jstor.org/pss/98663
Ray K
Ray K
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13703 Visits: 4959
Found the article on Google. This looks like it could be a very interesting article! When I have some free time (whatever that is), I'm going to have to get a copy of it and read it!

+--------------------------------------------------------------------------------------+
‌Check out my blog at https://pianorayk.wordpress.com/
Tom Thomson
Tom Thomson
SSC Guru
SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)SSC Guru (50K reputation)

Group: General Forum Members
Points: 50662 Visits: 13159
hanziou (4/23/2010)
I the title of the paper really "The diagnosis of mstakes in programmes on the EDSAC" by S. Gill,? I.e. is "mistakes" purposely misspelled by S. Gill? Or was that a transcription error by the QOTD poster?

It's my transcription error, the author of the paper was more careful than I was (I guess if you are getting you department head to put a paper of yoursup for the Royal Society you are very very careful indeed).

Tom

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search