I completely agree that the most important thing is to have a concrete objective that you really want to achieve that you are moving towards. However, I disagree that every language is equally hard. There are three challenges in learning programming: syntax, logic, and resource management. Those can be optimized for beginners: Syntax: A syntax that is more natural and less symbolic will be easier to learn. There is a…
How should I get started with programming? Which language should I learn first?
21–30 of 35 posts
Re: How should I get started with programming? Which language should I learn first?
#22To make it easier for a newbie: Choose Python if you want to learn programming for yourself - lean, lots of bindings for C-Frameworks, not much surprises and a big community.
Re: How should I get started with programming? Which language should I learn first?
#23First, you should learn one of the easy dynamic languages. This means Perl, PHP, Python, Ruby, Lua, Clojure. I think Ruby is a good choice because it has a lot of cool concepts built in to the core language that the others lack, and so it can be a foundation for learning many different styles of programming -- it does this, in my opinion, better than Python, and has a nicer syntax than Perl. _why's poignant guide to ruby is a bit outdated but still a pretty awesome and cool introduction.
http://mislav.uniqpath.com/poignant-guide/
Second, and this might come as a shock, some form of basic assembler. I recommend LC-3 assembler. And the main reason here is that a decent understanding of the memory model is going to help you a lot when it comes to dealing with pointers, complex data structures, or anything, really. You'll probably never write a program longer than 100 lines in LC-3, but the short things you do write will give you a deeper understanding of your code everywhere else.
http://en.wikipedia.org/wiki/LC-3
http://highered.mcgraw-hill.com/sites/0072467509/student_vie...
There may actually be a newer "learning assembler"-styled language out there, but I am not aware of it. LC-3 is showing its age, but it was great when I learned to program, and I learned as much programming for three months in LC-3 as two years prior in Java.
That said, you should definitely familiarize yourself with control structures prior to jumping into assembler or you could break your brain.
Re: How should I get started with programming? Which language should I learn first?
#24Probably some people would kill me for that answer but i would say you should learn PHP. PHP is simple, good documentation and great community. Facebook is built on top of PHP so as Drupal and Wordpress. But the main point about my recommendation is that PHP is installed everywhere, you don't have to spend much time configuring and doing sysadmin stuff to make it work.
Re: How should I get started with programming? Which language should I learn first?
#25Once you can master understanding programming syntax regardless of language, how to write good code and how to solve problems then you are well on your way to becoming a good developer.
Re: How should I get started with programming? Which language should I learn first?
#26I completely agree that the most important thing is to have a concrete objective that you really want to achieve that you are moving towards. However, I disagree that every language is equally hard. There are three challenges in learning programming: syntax, logic, and resource management. Those can be optimized for beginners: Syntax: A syntax that is more natural and less symbolic will be easier to learn. There is a…
On the flip side, it really makes little sense to learn a language that is useless for what you want to do. If what you really want to do is program a microcontroller, it is my opinion that PHP or Python would be a very poor choice in first languages.
I don't use it for months at a time. I proceed to forget everything. Shortly after, a need arises so I pick it back up. A week later, I'm a pro again.
The error output is what make it so amazing.
Re: How should I get started with programming? Which language should I learn first?
#27Probably some people would kill me for that answer but i would say you should learn PHP. PHP is simple, good documentation and great community. Facebook is built on top of PHP so as Drupal and Wordpress. But the main point about my recommendation is that PHP is installed everywhere, you don't have to spend much time configuring and doing sysadmin stuff to make it work.
I don't feel that a newbie should be learning a web language as his first. It just seems like an unintuitive learning process to me.
Re: How should I get started with programming? Which language should I learn first?
#28Earlier quoted context omitted.
While I feel your pain (and cringe on your behalf), I will say that many winners of NASCAR races started in last place.
I shudder to think of all programming languages being involved in an elaborate NASCAR race.
Re: How should I get started with programming? Which language should I learn first?
#29To make it easier for a newbie: Choose Python if you want to learn programming for yourself - lean, lots of bindings for C-Frameworks, not much surprises and a big community.
(Presuming you want to learn programming for it's own sake , rather than work towards some specific goal that requires code)