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


Defensive Programming


Defensive Programming

Author
Message
Tom Thomson
Tom Thomson
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26471 Visits: 12506
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
SSCrazy Eights
SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)SSCrazy Eights (8.1K reputation)

Group: General Forum Members
Points: 8143 Visits: 4003
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

-------------------
"I love spending twice as long and working twice as hard to get half as much done!" – Nobody ever.
Ref.: http://www.adminarsenal.com/admin-arsenal-blog/powershell-how-to-write-your-first-powershell-script

"Operator! Give me the number for 911!" - Homer Simpson

"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
SSCrazy Eights
SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)SSCrazy Eights (8.3K reputation)

Group: General Forum Members
Points: 8250 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
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5797 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 (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)SSC-Enthusiastic (100 reputation)

Group: General Forum Members
Points: 100 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
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5836 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
SSCertifiable
SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)SSCertifiable (6.7K reputation)

Group: General Forum Members
Points: 6664 Visits: 2399
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.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1648 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
SSCertifiable
SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)SSCertifiable (6.9K reputation)

Group: General Forum Members
Points: 6886 Visits: 4691
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
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26471 Visits: 12506
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