this post was submitted on 14 May 2024
154 points (99.4% liked)
Programming
16769 readers
101 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One nice thing about learning (and teaching) python is that it's a multiparadigm language. Students don't have to learn about indenting until you cover flow control. Classes and OOP can come way, way later.
I started with C++. Also multiparadigm, but the syntax and compiler errors were brutal, not to mention pointer arithmetic.
I'm not sure I can think of a language that would be better suited to learning. GDScript seemed kind of nice, and you get to make games.
Which is one of the very first things they're taught - "hello world", variables ("Enter your name", "hello {name}"), branches, and loops, in that order.
Pascal - it's what it was designed for. Variables, branches, and loops, with strong types and optional indenting. Once people have a handle on that, THEN move onto OOP.
I am shocked there is someone besides me who still enjoys the wordy C.
Pascal was the first real language I learned (after basic)
Same. Taught myself some Basic in high school (first on a school computer, then we got a computer at home), learnt Pascal in 1st year Uni (programming basics - wrote a bunch of stuff for myself in Pascal for my computer) then C in 2nd year (OOP), and then Assembler in 3rd year. Later I taught myself (with the help of some books and courses.... and intellisense! 😂) C#.
Oh, I nearly forgot! I had to learn Python too... because I had to teach it. Did try to argue for C#, which is allowed under the curriculum (and would be a more suitable language to teach), but then found it's hard to get that agreed on because so many schools just run Python because it's easier for them from an administrative point of view - I found I wasn't alone in this predicament. Thanks school admins...