Click here to Skip to main content
15,892,839 members

Survey Results

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

Survey period: 4 Jan 2021 to 11 Jan 2021

Not an exhaustive list by any means. Comment to add what's missing for you.

OptionVotes% 
Strong type safety41561.48
Automatic thread safety19228.44
Lambda functions16624.59
Interoperability and compatibility with existing languages16624.59
Automatic Memory management33749.93
Extension methods13620.15
Macros639.33
Optional / nullable types15923.56
Dynamic typing (eg dynamic in C#, any in TypeScript)8913.19
Immutability10615.70
Tuples7911.70
A plethora of operators that reduce code (eg ??, .?)10916.15
String interpolation13920.59
Speed, efficiency46368.59
Simplicity in the syntax45867.85
Other6910.22
Respondents were allowed to choose more than one answer; totals may not add up to 100%



 
GeneralGreat Debugger Pin
NeverJustHere9-Jan-21 18:59
NeverJustHere9-Jan-21 18:59 
GeneralC++ has like everything but two "features" here that I don't like or use anyway Pin
honey the codewitch9-Jan-21 2:55
mvahoney the codewitch9-Jan-21 2:55 
Everything worthwhile in this list you can do with C++

Even garbage collection (w/ the boehm collector)

I moved to C# for a long time before coming back to C++.

It's rough to get used to again after a years long sabbatical but so worth it.

The error messages from the compiler frustrate me sometimes, but that's the language's main weakness. Otherwise, it slays everything else.

- Portability: C++ code will run in places Java won't, like my 8-bit arduinos with 8kB of RAM
- Efficiency: C++ code is as efficient as you can create it. Of all the major languages, C++ compilers are still the best optimizing compilers under the sun
- Flexibility: C++ is if anything, too flexible. I can redesign the look and feel of the whole language using macros and clever templates. It's so flexible it's dangerous, which is terrible sometimes, but in the hands of an experienced developer this flexibility is lovely.

The main downsides are the learning curve, and the extra effort it takes to develop with it. But I think it pays for itself, easily.
Real programmers use butterflies

GeneralType Safety, Efficiency, & Simplicity Pin
BryanFazekas5-Jan-21 9:32
BryanFazekas5-Jan-21 9:32 
GeneralRe: Type Safety, Efficiency, & Simplicity Pin
Frank Malcolm5-Jan-21 11:42
Frank Malcolm5-Jan-21 11:42 
GeneralRe: Type Safety, Efficiency, & Simplicity Pin
BryanFazekas6-Jan-21 2:49
BryanFazekas6-Jan-21 2:49 
GeneralRe: Type Safety, Efficiency, & Simplicity Pin
Frank Malcolm6-Jan-21 2:56
Frank Malcolm6-Jan-21 2:56 
GeneralStandard Runtime Library Pin
JohnnyCee5-Jan-21 5:18
JohnnyCee5-Jan-21 5:18 
GeneralProblems with too many operators Pin
obermd5-Jan-21 3:38
obermd5-Jan-21 3:38 
GeneralOther Pin
MarkTJohnson5-Jan-21 1:00
professionalMarkTJohnson5-Jan-21 1:00 
PraiseRe: Other Pin
Gary R. Wheeler5-Jan-21 2:56
Gary R. Wheeler5-Jan-21 2:56 
GeneralRe: Other Pin
Nelek6-Jan-21 22:35
protectorNelek6-Jan-21 22:35 
GeneralVisual Studio Support Pin
Stepan Hakobyan4-Jan-21 21:15
professionalStepan Hakobyan4-Jan-21 21:15 
GeneralNone of the following Pin
Pete Lomax Member 106645054-Jan-21 9:24
professionalPete Lomax Member 106645054-Jan-21 9:24 
GeneralRe: None of the following Pin
Slacker0075-Jan-21 0:20
professionalSlacker0075-Jan-21 0:20 
GeneralOther Pin
Nelek4-Jan-21 8:36
protectorNelek4-Jan-21 8:36 
GeneralOther: Generics, cross-platform, tooling Pin
acomputerdog4-Jan-21 7:56
professionalacomputerdog4-Jan-21 7:56 
GeneralRe: Other: Generics, cross-platform, tooling Pin
OriginalGriff5-Jan-21 0:05
mveOriginalGriff5-Jan-21 0:05 
GeneralDid I miss generics? Pin
markrlondon4-Jan-21 3:52
markrlondon4-Jan-21 3:52 
GeneralDocumentation PinPopular
MarcusCole68334-Jan-21 3:47
professionalMarcusCole68334-Jan-21 3:47 
GeneralRe: Documentation Pin
Pete Lomax Member 106645054-Jan-21 6:44
professionalPete Lomax Member 106645054-Jan-21 6:44 
GeneralRe: Documentation Pin
MarcusCole68334-Jan-21 9:04
professionalMarcusCole68334-Jan-21 9:04 
GeneralHuman readable error messages Pin
Pete Lomax Member 106645054-Jan-21 3:23
professionalPete Lomax Member 106645054-Jan-21 3:23 
GeneralRe: Human readable error messages Pin
W Balboos, GHB4-Jan-21 4:04
W Balboos, GHB4-Jan-21 4:04 
GeneralRe: Human readable error messages Pin
Pete Lomax Member 106645054-Jan-21 9:30
professionalPete Lomax Member 106645054-Jan-21 9:30 
GeneralRe: Human readable error messages Pin
Nelek4-Jan-21 10:04
protectorNelek4-Jan-21 10:04 

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.