Click here to Skip to main content
15,889,335 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsMicrosoft introduces digital badges for Microsoft Certified Professionals Pin
Kent Sharkey23-Oct-16 14:11
staffKent Sharkey23-Oct-16 14:11 
GeneralRe: Microsoft introduces digital badges for Microsoft Certified Professionals Pin
Brisingr Aerowing23-Oct-16 15:57
professionalBrisingr Aerowing23-Oct-16 15:57 
GeneralRe: Microsoft introduces digital badges for Microsoft Certified Professionals Pin
Kent Sharkey23-Oct-16 18:56
staffKent Sharkey23-Oct-16 18:56 
GeneralRe: Microsoft introduces digital badges for Microsoft Certified Professionals Pin
Brisingr Aerowing24-Oct-16 5:45
professionalBrisingr Aerowing24-Oct-16 5:45 
GeneralRe: Microsoft introduces digital badges for Microsoft Certified Professionals Pin
Kornfeld Eliyahu Peter24-Oct-16 20:40
professionalKornfeld Eliyahu Peter24-Oct-16 20:40 
GeneralRe: Microsoft introduces digital badges for Microsoft Certified Professionals Pin
Daniel Pfeffer24-Oct-16 21:39
professionalDaniel Pfeffer24-Oct-16 21:39 
NewsStatic typing will not save us from broken software Pin
Kent Sharkey23-Oct-16 11:10
staffKent Sharkey23-Oct-16 11:10 
GeneralRe: Static typing will not save us from broken software Pin
Marc Clifton23-Oct-16 13:25
mvaMarc Clifton23-Oct-16 13:25 
davidMacIver = HesGotSomeGoodPoints()
davidMacIver = ButHesAlsoWrong()

Make it more expensive to write broken software - write in a non-static typed language
Make it cheaper to write correct software - write in a static typed language

But because these bugs [those that happen in production] are relatively minor

Now that's where I totally disagree. If a true static typed language had been used, or had been used properly (ie, semantically, which is the next level of strong typing), this case in point[^]

due to ground-based computer software which produced output in non-SI units of pound-seconds (lbf s) instead of the SI units of newton-seconds (N s) specified in the contract between NASA and Lockheed.

would not have cost the taxpayers $327.6 million

Dealing with type errors in a non-static language is not cheaper. I spend time writing unit tests and verifying the runtime by hand to ensure type correctness that I do NOT spend with static typed languages. Running an app only to discover I'm using a duck-typed variable before I've assigned something to it is a time waster. The benefits of static typing far outweight the benefits of non-static typed languages, and I'm sorry David, that's not opinion, but measurable fact.

Can duck-typed languages save time? Sure! I can replace a class instance that interfaces with hardware with a class instance that mocks the hardware as simply as the code above. I can add fields to a class outside of the class simply by making an assignment.

All of which are cheats and laziness, break the "code as documentation" fallback. In other words, duck-typed languages are like pr0n instead of the real thing.

[edit]
Most existing static type systems also come with a build time cost that makes testing in general more expensive.

Laugh | :laugh: And the unit tests that duck-typed languages require often (in my experience with a small Ruby on Rails web app) take longer to run than compiling much more complex web sites. [/edit]

Marc
Imperative to Functional Programming Succinctly

Contributors Wanted for Higher Order Programming Project!

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny


modified 23-Oct-16 20:40pm.

GeneralRe: Static typing will not save us from broken software Pin
Chris Maunder23-Oct-16 15:57
cofounderChris Maunder23-Oct-16 15:57 
GeneralRe: Static typing will not save us from broken software Pin
Master.Man198024-Oct-16 5:01
Master.Man198024-Oct-16 5:01 
GeneralRe: Static typing will not save us from broken software Pin
Bernhard Hiller23-Oct-16 20:49
Bernhard Hiller23-Oct-16 20:49 
NewsNewly formed patent troll makes vast claim to Web video, sues 14 big media companies Pin
Kent Sharkey23-Oct-16 10:47
staffKent Sharkey23-Oct-16 10:47 
GeneralRe: Newly formed patent troll makes vast claim to Web video, sues 14 big media companies Pin
Kornfeld Eliyahu Peter24-Oct-16 20:34
professionalKornfeld Eliyahu Peter24-Oct-16 20:34 
NewsYour experience is probably worth a lot less than you think Pin
Kent Sharkey23-Oct-16 10:38
staffKent Sharkey23-Oct-16 10:38 
GeneralRe: Your experience is probably worth a lot less than you think PinPopular
Marc Clifton23-Oct-16 13:36
mvaMarc Clifton23-Oct-16 13:36 
GeneralRe: Your experience is probably worth a lot less than you think Pin
Chris Maunder23-Oct-16 15:58
cofounderChris Maunder23-Oct-16 15:58 
GeneralRe: Your experience is probably worth a lot less than you think Pin
den2k8823-Oct-16 21:21
professionalden2k8823-Oct-16 21:21 
GeneralRe: Your experience is probably worth a lot less than you think Pin
Nelek24-Oct-16 0:18
protectorNelek24-Oct-16 0:18 
GeneralRe: Your experience is probably worth a lot less than you think Pin
gstolarov24-Oct-16 12:43
gstolarov24-Oct-16 12:43 
GeneralRe: Your experience is probably worth a lot less than you think Pin
Kornfeld Eliyahu Peter24-Oct-16 19:59
professionalKornfeld Eliyahu Peter24-Oct-16 19:59 
NewsHow the web became unreadable Pin
Kent Sharkey23-Oct-16 10:35
staffKent Sharkey23-Oct-16 10:35 
GeneralRe: How the web became unreadable Pin
Bernhard Hiller23-Oct-16 20:56
Bernhard Hiller23-Oct-16 20:56 
NewsWindows: When no growth is an improvement Pin
Kent Sharkey23-Oct-16 10:33
staffKent Sharkey23-Oct-16 10:33 
NewsHacked cameras, DVRs powered today’s massive internet outage Pin
Kent Sharkey23-Oct-16 10:30
staffKent Sharkey23-Oct-16 10:30 
NewsSteve Ballmer says Microsoft once tried to buy Facebook for $24 billion Pin
Kent Sharkey23-Oct-16 10:29
staffKent Sharkey23-Oct-16 10:29 

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.