Click here to Skip to main content
15,898,618 members

Survey Results

What features are most important to you in a programming language?   [Edit]

Survey period: 17 Dec 2007 to 24 Dec 2007

If one language did everything there would only be one language... (suggested by Milan1612)

OptionVotes% 
Automatic memory management93649.81
Industry acceptance as a "standard" language80142.63
Support for Object Oriented Programming1,50279.94
Templates or Generics77141.03
Strong Typing94450.24
Inbuilt support for regular expressions46824.91
Support for reflection55129.32
Cross-platform support76440.66
Support for default parameter values in functions43222.99
Namespace support68036.19
Support for First-class functions25313.46
An extensive standard library1,22565.19
Multiple return values from functions32917.51
Compile to native code (instead of byte code or intermediate code)64034.06
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralRe: Inheritable constructors Pin
PIEBALDconsult20-Dec-07 15:09
mvePIEBALDconsult20-Dec-07 15:09 
GeneralEase/safety of conversion from C/C++ Pin
PIEBALDconsult18-Dec-07 10:10
mvePIEBALDconsult18-Dec-07 10:10 
GeneralMultiple inheritence Pin
PIEBALDconsult18-Dec-07 9:50
mvePIEBALDconsult18-Dec-07 9:50 
GeneralRe: Multiple inheritence Pin
sherifffruitfly18-Dec-07 9:53
sherifffruitfly18-Dec-07 9:53 
GeneralRe: Multiple inheritence Pin
PIEBALDconsult18-Dec-07 10:01
mvePIEBALDconsult18-Dec-07 10:01 
GeneralRe: Multiple inheritence Pin
Steve Echols18-Dec-07 20:34
Steve Echols18-Dec-07 20:34 
GeneralRe: Multiple inheritence Pin
scoobydoo2719-Dec-07 7:22
scoobydoo2719-Dec-07 7:22 
GeneralRe: Multiple inheritence Pin
Nemanja Trifunovic19-Dec-07 10:44
Nemanja Trifunovic19-Dec-07 10:44 
scoobydoo27 wrote:
Why create a potentially more problematic solution using multiple inheritance when you could be using composition?


Here's why:[^]

People quite correctly say that you don't need multiple inheritance, because anything you can do with multiple inheritance you can also do with single inheritance. You just use the delegation trick I mentioned. Furthermore, you don't need any inheritance at all, because anything you do with single inheritance you can also do without inheritance by forwarding through a class. Actually, you don't need any classes either, because you can do it all with pointers and data structures. But why would you want to do that? When is it convenient to use the language facilities? When would you prefer a workaround? I've seen cases where multiple inheritance is useful, and I've even seen cases where quite complicated multiple inheritance is useful. Generally, I prefer to use the facilities offered by the language to doing workarounds.

GeneralRe: Multiple inheritence Pin
ed welch20-Dec-07 1:49
ed welch20-Dec-07 1:49 
GeneralRe: Multiple inheritence Pin
Kamarey20-Dec-07 1:59
Kamarey20-Dec-07 1:59 
GeneralRe: Multiple inheritence Pin
sherifffruitfly20-Dec-07 7:10
sherifffruitfly20-Dec-07 7:10 
GeneralRe: Multiple inheritence Pin
Kevin McFarlane19-Dec-07 9:52
Kevin McFarlane19-Dec-07 9:52 
GeneralRe: Multiple inheritence Pin
Kemal Erdogan21-Dec-07 4:58
Kemal Erdogan21-Dec-07 4:58 
GeneralCall me a VB programmer ... Pin
Xiangyang Liu 刘向阳18-Dec-07 9:35
Xiangyang Liu 刘向阳18-Dec-07 9:35 
GeneralRe: Call me a VB programmer ... Pin
Steve Echols18-Dec-07 20:40
Steve Echols18-Dec-07 20:40 
GeneralRe: Call me a VB programmer ... Pin
John Oxley19-Dec-07 0:40
John Oxley19-Dec-07 0:40 
GeneralRe: Call me a VB programmer ... Pin
Xiangyang Liu 刘向阳20-Dec-07 0:25
Xiangyang Liu 刘向阳20-Dec-07 0:25 
JokeMultiple return values from functions? Pin
Xiangyang Liu 刘向阳18-Dec-07 8:17
Xiangyang Liu 刘向阳18-Dec-07 8:17 
GeneralRe: Multiple return values from functions? Pin
Marshall Rosenstein18-Dec-07 9:03
Marshall Rosenstein18-Dec-07 9:03 
GeneralRe: Multiple return values from functions? Pin
PIEBALDconsult18-Dec-07 9:52
mvePIEBALDconsult18-Dec-07 9:52 
GeneralRe: Multiple return values from functions? Pin
Anton Afanasyev18-Dec-07 16:37
Anton Afanasyev18-Dec-07 16:37 
GeneralRe: Multiple return values from functions? [modified] Pin
Marshall Rosenstein19-Dec-07 3:27
Marshall Rosenstein19-Dec-07 3:27 
GeneralRe: Multiple return values from functions? Pin
W Balboos, GHB19-Dec-07 7:04
W Balboos, GHB19-Dec-07 7:04 
GeneralRe: Multiple return values from functions? Pin
Marshall Rosenstein19-Dec-07 7:51
Marshall Rosenstein19-Dec-07 7:51 
GeneralRe: Multiple return values from functions? Pin
W Balboos, GHB19-Dec-07 8:07
W Balboos, GHB19-Dec-07 8:07 

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.