Click here to Skip to main content
15,884,237 members

Survey Results

Which features would you most like in a language?   [Edit]

Survey period: 6 Dec 2004 to 12 Dec 2004

No language is everything to everyone. In a perfect world, however, which features would you like most?

OptionVotes% 
Set support (as in Pascal)272.28
The goto statement302.54
PERL's tuple returning (($a, $b, $c) = $function())675.67
Operator overloading12610.66
Optional parameters937.87
Garbage collection20317.17
Attribution / Reflection958.04
Exception handling19416.41
Templates / Generics29625.04

View optional text answers (65 answers)


 
GeneralDefinitely Reflection Pin
peterchen6-Dec-04 0:59
peterchen6-Dec-04 0:59 
GeneralRe: Definitely Reflection Pin
Nemanja Trifunovic6-Dec-04 2:57
Nemanja Trifunovic6-Dec-04 2:57 
GeneralRe: Definitely Reflection Pin
peterchen6-Dec-04 9:11
peterchen6-Dec-04 9:11 
GeneralRe: Definitely Reflection Pin
leppie6-Dec-04 2:58
leppie6-Dec-04 2:58 
GeneralRe: Definitely Reflection Pin
Marc Clifton6-Dec-04 10:32
mvaMarc Clifton6-Dec-04 10:32 
GeneralRe: Definitely Reflection Pin
Shog96-Dec-04 14:50
sitebuilderShog96-Dec-04 14:50 
GeneralMultiple Selection Pin
Aamir Butt6-Dec-04 0:00
Aamir Butt6-Dec-04 0:00 
GeneralRe: Multiple Selection Pin
Gavin Greig6-Dec-04 0:29
Gavin Greig6-Dec-04 0:29 
It focuses the mind if you have to consider which single feature you want the most. Of course I want quite a few of the language features listed, but knowing I could only choose one made me think about which ones I could do without.

I swithered a little between exceptions and templates, but in the end part of the point of exceptions is that you shouldn't really need them if you are coding defensively. Of course, we all know that's an oversimplification, but it was enough to tip the balance in favour of templates, which make a more positive contribution to a programming language. (Generics are also good, though less powerful.)

Gavin Greig

"Haw, you're no deid," girned Charon. "Get aff ma boat or ah'll report ye."
Matthew Fitt - The Hoose O Haivers: The Twelve Trauchles O Heracles.

GeneralRe: Multiple Selection Pin
Aamir Butt6-Dec-04 0:31
Aamir Butt6-Dec-04 0:31 
GeneralRe: Multiple Selection Pin
Michael Dunn6-Dec-04 4:26
sitebuilderMichael Dunn6-Dec-04 4:26 

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.