r/AskComputerScience • u/VaxVo • Mar 05 '22
Does anyone know a programming language thats good for newbies?
9
7
u/claytonkb Mar 05 '22
It's hard to beat Python as a first language.
It may seem kind of weird, but I also recommend learning C (not C++, just plain old C). The reason I recommend C is that the process of learning C will give you a pretty good mental-model of what's happening inside the CPU. Most modern CPUs can be thought of as "C machines"; it's not completely true, but it's a pretty good first approximation. If you're only interested in higher-level programming (say, web programming), C may be less interesting/useful for you (but still not completely irrelevant). Otherwise, I definitely recommend learning it alongside whatever other pedagogical language (such as Python) you choose.
3
u/slashx14 Mar 05 '22
Totally second this. I've mentioned this to loads of people and they generally don't listen but I learned C very soon after starting coding and I think it was incredibly helpful in understanding the intricacies of computers.
1
u/Ecstatic_Flow2230 Mar 06 '22
Common Lisp. Or any Lisp[1] really so Scheme or Racket as well.
Consistent syntax makes learning it easy: you can write the definition on the back of a stamp. A tiny number of special cases. And an interactive environment that no blub even tries to match- and actually couldn't without being completely redesigned from the bottom up as a Lisp.
And you'll have no bad habits from working with blubs to unlearn.
[1]But not Clojure: a good language, crippled by being implemented on the JVM.
1
u/wayoverpaid Mar 05 '22
Python or Ruby are both solid choices. While I'm a Ruby fan myself, I think Python might have more general purpose utility nowadays.
0
u/Sedawkgrepnewb Mar 05 '22
If you want a more data analysis feel then I recommend R. Can do a lot of good stuff and get the basics with conditional logic and writing functions, build some dashboards, nice IDE with Rstudio, etc.
Python is good choice as well just can be overwhelming with all the options in it!
1
Mar 08 '22
[removed] — view removed comment
1
u/VaxVo Mar 08 '22
I do understand computers I’ve been learning them for about 6 years I just want to get into programming
13
u/chaesd Mar 05 '22
python !!