Re:Ask HN: What should I learn as my first programming langu...
by keyle on Thursday October 06, 2016 @09:34AM
(#12652279)
You could go old school and start with Pascal. It's a great learning experience. And isolated from the real world to some extent, which at the start is a good idea (there isn't 300 frameworks staring back at you).
[ Parent
| on HN ]
Re:Ask HN: What should I learn as my first programming langu...
by randcraw on Thursday October 06, 2016 @10:55AM
(#12652973)
Agreed. Pascal has several advantages as a first language. The original Pascal (oP) language is small and quick to learn. ISO Pascal (iP) adds objects to oP, so the transition from oP to iP invites a graceful transition from procedural to object oriented thinking.
As a type safe language, Pascal also introduces concepts of data placement and memory management early on, and supports dynamic allocation and pointer access clearly and painlessly.
Learning C, C++, or Python after Pascal should be quick and easy, since they're just variants and generalizations on the primitives learned from oP and iP.