Re:How should I get started with programming? Which language...
by sliverstorm on Wednesday February 02, 2011 @04:52AM
(#2169688)
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.
[ Parent
| on HN ]
Re:How should I get started with programming? Which language...
by SoftwareMaven on Wednesday February 02, 2011 @12:22PM
(#2171048)
Having never done embedded work, I don't have an opinion either way. There are people successfully doing embedded work with Python, though (http://stackoverflow.com/questions/240996/anyone-using-pytho...), though I would probably choose Lua over Python in most cases.
If I were teaching somebody who wanted to do embedded work (and Python/Lua/<insert "easier" language here> really wasn't a deployment option, which is very feasible), I would start them with Python to get them to the point of understanding how programming works, then switch them to a more appropriate language for the project. Teaching the algorithms in Python, then converting them to C is a great way to learn the difference between the languages and to introduce the resource management that occurs.
Re:How should I get started with programming? Which language...
by jefe78 on Wednesday February 02, 2011 @06:17AM
(#2169843)
I agree that programming a micro-controller would make python a poor choice. That aside, I think its a great language.
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...
by tastybites on Wednesday February 02, 2011 @07:54AM
(#2170033)
That is also why I prefer Python - I'm not a computer scientist, I am a business owner who uses programming as a tool to achieve my goals. Sometimes it's 2 weeks or more between writing code and Python is by far the best language that fits into my workflow.