23
Python vs JavaScript for my first project. Picked JS. Big mistake.
I spent 3 months learning Python basics and felt okay. Then I switched to JavaScript for a simple web app. Now I'm stuck debugging callback hell and can't even get basic form validation to work. Should have stuck with Python until I actually built something real. Has anyone else jumped languages too early and regretted it?
3 comments
Log in to join the discussion
Log In3 Comments
king.kevin3d ago
Callback hell is just a phase you gotta push through, not a reason to ditch the whole language. I'd argue jumping headfirst into JS was actually the better move because now you're forced to understand how async code works under the hood. Python's nice and all but it baby steps you with synchronous code, then you hit the real world with APIs and event loops and you're just as lost. Stick with it for a few more days and that form validation will click - it's like wiring a three-way switch, looks impossible until you've done it once then it's second nature.
5
robin_wright3d ago
Wait, is that really true though @king.kevin?
4
the_uma3d ago
Oh man hard disagree here, callback hell is a nightmare and Python's readability saves so much headache.
3