Click here to Skip to main content
15,881,882 members

Survey Results

Compile-time Language Type Safety: a help or a hindrence?   [Edit]

Survey period: 17 May 2010 to 24 May 2010

C++ has pointers, .NET 'object', C# 4 has the 'dynamic' keyword, VB 'Dim', Javscript 'var', just to name a few. Do the benefits of mixing and matching types outweight the protections that compile-time strong typing brings?

OptionVotes% 
Type safety is critical to software development31845.23
Type safety is useful, but not critical30643.53
I don't care either way314.41
Type safety isn't that useful.162.28
Type safety is a hindrence to programming131.85
I have no idea what you're talking about192.70



 
GeneralRe: It depends... Pin
W Balboos, GHB17-May-10 1:30
W Balboos, GHB17-May-10 1:30 
GeneralRe: It depends... Pin
peterchen17-May-10 2:28
peterchen17-May-10 2:28 
GeneralRe: It depends... Pin
John R. Shaw22-May-10 6:51
John R. Shaw22-May-10 6:51 
GeneralRe: It depends... Pin
Henry Minute17-May-10 2:34
Henry Minute17-May-10 2:34 
GeneralRe: It depends... Pin
Nemanja Trifunovic17-May-10 4:38
Nemanja Trifunovic17-May-10 4:38 
GeneralRe: It depends... Pin
AWdrius17-May-10 5:13
AWdrius17-May-10 5:13 
GeneralRe: It depends... Pin
Nemanja Trifunovic17-May-10 5:36
Nemanja Trifunovic17-May-10 5:36 
GeneralRe: It depends... Pin
AWdrius17-May-10 5:44
AWdrius17-May-10 5:44 
That is covered by a "throw away code" part I believe. Unless you will be running your script on every c++ code compilation attempt. But then - why do you need some useless macro in the first place?

You example is good tho, script languages are almost ideal for a single "one-two" task, but when speaking about scripts that are meant to be used on a daily/weekly basis I stand my ground that strong typed languages should be preferred here.
Trust is a weakness.

GeneralRe: It depends... Pin
Nemanja Trifunovic17-May-10 5:55
Nemanja Trifunovic17-May-10 5:55 
GeneralRe: It depends... Pin
AWdrius17-May-10 6:04
AWdrius17-May-10 6:04 
GeneralRe: It depends... Pin
Plamen Dragiyski17-May-10 11:51
professionalPlamen Dragiyski17-May-10 11:51 
GeneralRe: It depends... Pin
John Underhill23-May-10 8:59
John Underhill23-May-10 8:59 

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.