Python or JavaScript as a first language for backend development?
I’m a complete beginner trying to decide between Python and JavaScript as my first programming language.
I’m mainly interested in backend development, APIs, servers, networking and databases. I also like the idea of building small things from scratch later on, like a simple HTTP server, chat server or tiny database, just to understand how they work.
Python appeals to me because of its simplicity, large ecosystem and versatility outside of web development.
JavaScript appeals to me because Node.js seems interesting for backend and asynchronous/network programming, and it would also give me the option to build frontend applications later using the same language.
I’m not choosing based on jobs, this is mainly a hobby and I want to learn programming properly.
Which would you recommend starting with: Python or JavaScript, and why?