Click here to Skip to main content
15,065,328 members

Survey Results

Which programming language would you recommend to learn first?

Survey period: 1 Apr 2019 to 8 Apr 2019

Assuming you're given no other information, in which direction would you point a budding new developer?

OptionVotes% 
C75740.05
C++1337.04
C#52927.99
Kotlin130.69
Java774.07
JavaScript or TypeScript884.66
PHP331.75
Python1719.05
Swift110.58
Other784.13

View optional text answers (133 answers)


 
GeneralRe: C Pin
den2k881-Apr-19 1:50
professionalden2k881-Apr-19 1:50 
GeneralRe: C Pin
Slacker0071-Apr-19 1:51
professionalSlacker0071-Apr-19 1:51 
GeneralRe: C Pin
Fabio Franco1-Apr-19 23:47
professionalFabio Franco1-Apr-19 23:47 
GeneralRe: C Pin
John R. Shaw2-Apr-19 10:38
MemberJohn R. Shaw2-Apr-19 10:38 
GeneralRe: C Pin
honey the codewitch1-Apr-19 1:45
mvahoney the codewitch1-Apr-19 1:45 
GeneralRe: C Pin
PIEBALDconsult1-Apr-19 3:03
professionalPIEBALDconsult1-Apr-19 3:03 
GeneralRe: C Pin
den2k881-Apr-19 3:14
professionalden2k881-Apr-19 3:14 
GeneralRe: C Pin
honey the codewitch1-Apr-19 7:34
mvahoney the codewitch1-Apr-19 7:34 
I agree with that, generally, but at least C# gives you the capability to create solid code.

As much as python is great, languages like that, and like BASIC whose grammars are Broken As Designed teach bad habits.

Now, C and C++ are so flexible it's easy to code with bad habits. Very easy.

C# is a nice happy medium. It's flexible enough to be powerful, and to support "real" coding.

It's simple enough to make it easy to have good practices.

I think C# does a better job of fostering good dev habits than C

I think with C you better already have a handle on your habits. And it takes time to get them right.

An example is putting constants before vars in comparisons like

if(0==i) ;// do stuff there

instead of if(i==0)

This kind of thing is important in C to avoid accidental assignment

in C# it's not as big a deal.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: C Pin
Rick York1-Apr-19 18:46
mveRick York1-Apr-19 18:46 
GeneralRe: C Pin
englebart2-Apr-19 2:19
professionalenglebart2-Apr-19 2:19 
GeneralRe: C Pin
Gary R. Wheeler2-Apr-19 13:30
MemberGary R. Wheeler2-Apr-19 13:30 
GeneralAcademic or professional? Pin
Afzaal Ahmad Zeeshan31-Mar-19 19:27
mveAfzaal Ahmad Zeeshan31-Mar-19 19:27 
GeneralRe: Academic or professional? Pin
PIEBALDconsult1-Apr-19 2:59
professionalPIEBALDconsult1-Apr-19 2:59 
GeneralDefinitely not C Pin
PIEBALDconsult31-Mar-19 18:16
professionalPIEBALDconsult31-Mar-19 18:16 
GeneralRe: Definitely not C Pin
KarstenK31-Mar-19 23:51
mveKarstenK31-Mar-19 23:51 
GeneralRe: Definitely not C Pin
PIEBALDconsult1-Apr-19 2:53
professionalPIEBALDconsult1-Apr-19 2:53 
GeneralRe: Definitely not C Pin
PeejayAdams31-Mar-19 23:58
MemberPeejayAdams31-Mar-19 23:58 

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.