H
25

My first project had me stuck picking Python or JavaScript

I wanted to build a simple website that could show the weather, but I didn't know which language to start with. My friend in Austin said to use JavaScript because it runs right in the browser, so I went with that. It was tough at first, but after a week of trying, I got a button to pull in fake data. Has anyone else felt lost choosing a first language for a web thing?
3 comments

Log in to join the discussion

Log In
3 Comments
dylan23
dylan231mo ago
My buddy said the same thing about JavaScript for web stuff.
8
the_james
the_james1mo ago
Honestly your friend in Austin gave bad advice. For a simple weather site, Python with Flask would have been way easier to get real data from an API. JavaScript just makes you fight the browser for no reason.
1
matthew_owens9
matthew_owens98d agoOG Member
Oh come on now, are we really still pretending JavaScript is some kind of punishment? I get that Python with Flask is straightforward for backend API calls, but telling someone JavaScript is just fighting the browser sounds like you haven't touched it since jQuery was cool. Client-side rendering for a weather site means instant updates without page refreshes, which Python literally can't do in the browser. And honestly, if you're fighting the browser with modern JS, you're probably doing it wrong or using some ancient framework nobody touches anymore. Different tools for different jobs, right?
3