24
Choosing Python over JavaScript for my first language was the right call for me
Everyone in my online course kept pushing JavaScript because it's 'everywhere', but I picked Python after trying both for a week. The syntax just made more sense to me, especially when I wrote my first script to rename 100 image files. I didn't get stuck on weird errors like I did with JavaScript's semicolons and brackets. Has anyone else gone against the grain for their first language and been happy with it?
2 comments
Log in to join the discussion
Log In2 Comments
david_henderson610d ago
That point about renaming 100 image files is a perfect example. Python's straightforward syntax lets you focus on solving the actual problem, not fighting the language rules. I've seen too many new coders get discouraged by JavaScript's quirks before they even make something useful. Starting with a language that feels logical builds confidence to tackle harder concepts later.
9
simonmoore10d ago
Exactly, why do we make beginners fight syntax before they even understand what programming does? I tried teaching my nephew some basics with JavaScript and the whole semicolon thing just shut him down. With Python he actually finished the little game we were making because he wasn't stuck on curly braces. That early win is everything for keeping someone interested.
1