Click here to Skip to main content
15,889,216 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



 
GeneralCritical Pin
Ray Cassick23-May-10 14:02
Ray Cassick23-May-10 14:02 
...but not mandatory.

There is always going to be times when you may need to step outside the boundaries a little, but I think that the language should make THAT move more clear. It should force the programmer to wrap the code in something that makes the condition obvious to other developers, and obviously the compiler and debugger, and should always be one of the focuses of code review sessions.

Not saying you can't. Just saying that if you do you better HAVE to, be able to explain it, and then make sure others that have to maintain it can locate it and know why you did it.

Ah, but to live in a perfect world.

- Specifications would never change mid-project.
- You would always have enough people for the project.
- You would always have enough time to design, code, and test (in that order).
- Project scope would never change mid-project.

<ahhhhhh, dream="" state="">

GeneralType Safety good but needs improvement [modified] Pin
KenJohnson19-May-10 19:19
KenJohnson19-May-10 19:19 
GeneralNo free meals Pin
Nisamudheen19-May-10 18:04
Nisamudheen19-May-10 18:04 
GeneralRe: No free meals Pin
radioman.lt20-May-10 22:35
radioman.lt20-May-10 22:35 
GeneralRe: No free meals Pin
Nisamudheen23-May-10 15:14
Nisamudheen23-May-10 15:14 
GeneralRe: No free meals Pin
Daniel Grunwald23-May-10 2:15
Daniel Grunwald23-May-10 2:15 
GeneralRe: No free meals Pin
Stephen Hewitt23-May-10 15:30
Stephen Hewitt23-May-10 15:30 
GeneralIt depends... Pin
Stephen Hewitt16-May-10 19:36
Stephen Hewitt16-May-10 19:36 
GeneralRe: It depends... Pin
radioman.lt16-May-10 20:57
radioman.lt16-May-10 20:57 
GeneralRe: It depends... Pin
Dalek Dave16-May-10 22:04
professionalDalek Dave16-May-10 22:04 
GeneralRe: It depends... Pin
Rob Grainger16-May-10 22:39
Rob Grainger16-May-10 22:39 
GeneralRe: It depends... Pin
Stephen Hewitt16-May-10 22:12
Stephen Hewitt16-May-10 22:12 
GeneralRe: It depends... Pin
radioman.lt16-May-10 23:52
radioman.lt16-May-10 23:52 
JokeRe: It depends... Pin
Jouke van der Maas17-May-10 4:59
Jouke van der Maas17-May-10 4:59 
GeneralRe: It depends... Pin
ely_bob17-May-10 11:04
professionalely_bob17-May-10 11:04 
GeneralRe: It depends... Pin
The Man from U.N.C.L.E.19-May-10 3:30
The Man from U.N.C.L.E.19-May-10 3:30 
GeneralRe: It depends... Pin
Jitendra Zaa18-May-10 22:19
Jitendra Zaa18-May-10 22:19 
GeneralRe: It depends... Pin
Yusuf19-May-10 5:06
Yusuf19-May-10 5:06 
GeneralRe: It depends... Pin
ed welch16-May-10 23:29
ed welch16-May-10 23:29 
GeneralRe: It depends... Pin
Stephen Hewitt17-May-10 14:01
Stephen Hewitt17-May-10 14:01 
GeneralRe: It depends... Pin
Ravi Bhavnani19-May-10 5:49
professionalRavi Bhavnani19-May-10 5:49 
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 

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.