🌐
Reddit
reddit.com › r/learnpython › learning javascript after python
r/learnpython on Reddit: Learning Javascript after Python
October 22, 2021 -

Two things strike me with Javascript as opposed to Python (obviously, caveats apply...)

  1. Learning Javascript to enable the web is far more practical than learning a Python GUI.

  2. All of the extra steps in Javascript when it comes to functional programming, yuck!

Top answer
1 of 5
42
I’m going the ofher way, learning python from scratch as a snr. js stack dev. Don’t mind python but there’s quirks to every language. I generally don’t find the tooling as satisfying in python yet, but I do like the fluency of the language. I like that I write it once and can expect it to do what I think it’s gonna do. I’m also not yet used to indentation mattering as much, not a huge fan but again; quirk of the language. Tips I’d give python devs learning JS: stay the hell away from frameworks until you’re comfortable with the core language, learn es6/typescript. learn by doing, find a project and work out how to spin it up, then find flaws and see what JS has to offer to improve in those areas. you’ll never learn it all, stick to making stuff that works/solves your problem. learn about javascript’s weird and predicable but not expected scoping rules pick up a typed form of JS (typescript/es6 with types) set up eslint with recommended(s) and prettier so you get the style of pretty-good js. learn the es6 way of doing something before the library-laden way. (Like the pyhonic way but for js) spend time on closures, async/await, lambdas, scoping, destructuring and Promise patterns (all, race, allResolved, etc), oh and coercion. look at what your ts/es6 transpiles down to (unminified) to get an idea of how JS does stuff under the hood. learn about tooling (node, npm, nps, jest, nyc, eslint, prettier, webpack/a bundler) learn about number/decimal handling if you plan on doing any math you need to trust (financial), see decimal.js & similar. Run “0.1 + 0.2” if you’re not sure why. learn about all the crazy places you can deploy JS (browser, node, electron, capcitor, etc). If you’re picking a base framework for front-end dev the answer is probably react. The State of JS survey results can guide you on what frameworks and libraries might be worth picking up. Good luck and welcome to ordered chaos.
2 of 5
37
Looping through an array in Javascript for the first time after doing it in Python for months was just, like, whaaaat.
🌐
Runestone Academy
runestone.academy › ns › books › published › JS4Python › index.html
JavaScript for Python Programmers — JavaScript 4 Python Programmers
3. Part II: Object Oriented Programming · 3.1. Defining Classes in Javascript · 3.2. Inheritance · 3.3. Exercises · 4. Part III: Advanced Topics · 4.1. More about Functions: Closures and Scopes · 5. Part III: Web Programming · 5.1. The Document Object Model ·
Discussions

Best Python Resource for a JavaScript Developer?
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: Limiting your involvement with Reddit, or Temporarily refraining from using Reddit Cancelling your subscription of Reddit Premium as a way to voice your protest. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/learnprogramming
6
2
January 27, 2024
Learning Javascript after Python
I’m going the ofher way, learning python from scratch as a snr. js stack dev. Don’t mind python but there’s quirks to every language. I generally don’t find the tooling as satisfying in python yet, but I do like the fluency of the language. I like that I write it once and can expect it to do what I think it’s gonna do. I’m also not yet used to indentation mattering as much, not a huge fan but again; quirk of the language. Tips I’d give python devs learning JS: stay the hell away from frameworks until you’re comfortable with the core language, learn es6/typescript. learn by doing, find a project and work out how to spin it up, then find flaws and see what JS has to offer to improve in those areas. you’ll never learn it all, stick to making stuff that works/solves your problem. learn about javascript’s weird and predicable but not expected scoping rules pick up a typed form of JS (typescript/es6 with types) set up eslint with recommended(s) and prettier so you get the style of pretty-good js. learn the es6 way of doing something before the library-laden way. (Like the pyhonic way but for js) spend time on closures, async/await, lambdas, scoping, destructuring and Promise patterns (all, race, allResolved, etc), oh and coercion. look at what your ts/es6 transpiles down to (unminified) to get an idea of how JS does stuff under the hood. learn about tooling (node, npm, nps, jest, nyc, eslint, prettier, webpack/a bundler) learn about number/decimal handling if you plan on doing any math you need to trust (financial), see decimal.js & similar. Run “0.1 + 0.2” if you’re not sure why. learn about all the crazy places you can deploy JS (browser, node, electron, capcitor, etc). If you’re picking a base framework for front-end dev the answer is probably react. The State of JS survey results can guide you on what frameworks and libraries might be worth picking up. Good luck and welcome to ordered chaos. More on reddit.com
🌐 r/learnpython
75
196
October 22, 2021
Is JavaScript necessary for python web developer.
yes and no. the vast majority of companies will be using either JS or TypeScript (JS with static typing) as for personal projects, theres more options available. Many applications might not need to run any code in the browser, so you can handle all the logic on the server in python. Anything that you can do with simple form inputs and html elements is doable without JS in Django. If you want to make more interactive applications, there are other frameworks that let you do that, one example being lona-web , which lets you make interactive web apps in python. in simple terms, it provides a small JS script which communicates with the server in realtime and allows you to change the webpage on the fly from python. other JS-less options are: remi works by pre-defining js and html elements anvil.works Flexx transpiles python to js Brython python implementation that runs in the browser More on reddit.com
🌐 r/learnpython
9
2
October 22, 2021
JavaScript or Python
Couldn’t hurt to try out a little of both and dive into the one you like more. I wouldn’t worry too much about pigeonholing into either of them, if you learn one it makes it easier to pick up others. Also python can be used for backend with web development too but obv not front end stuff like js. More on reddit.com
🌐 r/learnpython
134
101
July 10, 2024
🌐
DEV Community
dev.to › kachiic › learning-javascript-as-a-python-developer-126g
Learning Javascript as a Python Developer - DEV Community
April 26, 2023 - In Python we replace that logic with in range(x). In Javascript, you are required to declare a variable and increment it using the for loop. ... In this instance we're logging each item in array (list) by accessing each index starting at 0. Primitive data types represent the fundamental values that we can work with in a programming language.
🌐
Observable
observablehq.com › @jpt › js-for-py
JavaScript for Python Developers / jpt | Observable
November 10, 2025 - Philosophical Differences To understand JavaScript it is helpful to start with where it came from, and why it is important today. The original version of the language was written by one person, and it took 10 days. That is an impressive feat, but also an indication of the level of planning ...
🌐
Depalatis
mike.depalatis.net › blog › javascript-for-python-programmers.html
mike.depalatis.net - Javascript for Python programmers
October 10, 2016 - Unless you’re just writing a simple HTTP API server, any amount of web programming in Python will likely require at least a little bit of Javascript. Like it or not (and I will try to argue in this post that you should like it for what it’s good at), Javascript is really the only game in ...
🌐
Amazon
amazon.com › Hands-JavaScript-Python-Developers-applications › dp › 1838648127
Hands-on JavaScript for Python Developers: Leverage your Python knowledge to quickly learn JavaScript and advance your web development career: Nagale, Sonyl: 9781838648121: Amazon.com: Books
This book will help you advance in your software engineering career by leveraging your Python programming skills to learn JavaScript and apply its unique features not only for frontend web development but also for streamlining work on the backend.
🌐
GitHub
github.com › PacktPublishing › Hands-on-JavaScript-for-Python-Developers
GitHub - PacktPublishing/Hands-on-JavaScript-for-Python-Developers: Hands-on Javascript for Python Developers, Published by Packt · GitHub
This is the code repository for Hands-on JavaScript for Python Developers, published by Packt.
Starred by 75 users
Forked by 32 users
Languages   JavaScript 65.2% | CSS 25.8% | HTML 4.1% | Python 2.3% | Handlebars 1.2% | SCSS 0.6%
Find elsewhere
🌐
Plain English
python.plainenglish.io › python-101-for-javascript-developers-e7f1987f825e
Python 101 for JavaScript Developers | by Megan Lo | Python in Plain English
May 6, 2021 - Despite the similarities, since a variable cannot be assigned to nothing in Python, None can be assigned to substitute the absence value, while we can declare a variable in JavaScript without a value: let x;. And this would return undefined , which indicates a variable is declared but no value is assigned. ... Since Python was my first programming language, this still kind of remained stuck in my head when I learned other languages like JavaScript later on.
🌐
freeCodeCamp
freecodecamp.org › news › learn-python-for-javascript-developers-handbook
How to Learn Python for JavaScript Developers [Full Handbook]
November 22, 2024 - But Python’s strict indentation requirements and clear error messages provide a more structured approach to dynamic typing. JavaScript, on the other hand, has a looser syntax, which sometimes leads to quirks, such as type coercion, that can result in unexpected behavior (for example, 0 == '' evaluates to true). Functional Programming: Both languages support functional programming techniques, but JavaScript leans heavily on it.
🌐
Real Python
realpython.com › courses › python-vs-javascript-for-python-devs
Python vs JavaScript for Python Developers – Real Python
January 25, 2023 - Python isn’t the only language ... Python for the top of the “most popular” lists is JavaScript. JavaScript is the de facto language on the web but also has a robust toolset on the server side. This course explores JavaScript from a Python programmer’s ...
🌐
Reddit
reddit.com › r/learnprogramming › best python resource for a javascript developer?
r/learnprogramming on Reddit: Best Python Resource for a JavaScript Developer?
January 27, 2024 -

I'm a full stack javascript developer and I want to dive into Python world of programming.

Since I'm not a beginner, I would prefer a project based course. What would you suggest to go into free or paid? I looked at Angela Yu's 100 Days of Python Udemy course and loved the concept since it goes with only projects simple to advanced but many people say it's outdated.

Is CS50P still good if I'm not a programming beginner?

🌐
O'Reilly
oreilly.com › library › view › hands-on-javascript-for › 9781838648121
Hands-on JavaScript for Python Developers [Book]
September 25, 2020 - "Hands-on JavaScript for Python Developers" is tailored for Python programmers who want to quickly and efficiently pick up JavaScript skills. This book bridges the gap between Python and JavaScript by comparing their conventions, viewpoints, ...
Author   Sonyl Nagale
Published   2020
Pages   410
🌐
Harvard University
pll.harvard.edu › course › cs50s-web-programming-python-and-javascript
CS50's Web Programming with Python and JavaScript | Harvard University
June 13, 2018 - This course picks up where CS50 leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap.
🌐
Valentino G.
valentinog.com › blog › python-for-js
Python for JavaScript Developers
October 15, 2020 - Python and JavaScript are dynamic languages. That is, they give almost absolute freedom to programmers. In JavaScript for example a variable might contain a string at first, and later be changed to contain a boolean.
🌐
Observable
observablehq.com › @ballingt › javascript-for-python-programmers
JavaScript for Python Programmers / Thomas Ballinger | Observable
July 1, 2022 - JavaScript is a lot like Python! JavaScript borrowed concepts from Python early in its development and there's been a healthy exchange of features between the two ever since. For example, JavaScript took generators and coroutines from Python, ...
🌐
Walmart
walmart.com › ip › Hands-on-JavaScript-Python-Developers-Leverage-Python-knowledge-quickly-learn-JavaScript-advance-web-development-career-Paperback-9781838648121 › 662563415
Hands-on JavaScript for Python Developers: Leverage your Python knowledge to quickly learn JavaScript and advance your web development career (Paperback) - Walmart.com
Hands-on JavaScript for Python Developers: Leverage your Python knowledge to quickly learn JavaScript and advance your web development career (Paperback)
Build robust full-stack web applications using two of the world's most popular programming languages Python and JavaScriptKey Features Discover similarities and differences between JavaScript and Python coding conventions Explore frontend web concepts, UI/UX techniques, and JavaScript frameworks to enhance your web development skills Put your JS knowledge into practice by developing a full-stack web app with React and Express Book Description Knowledge of Python is a great foundation for learning other languages. This book will help you advance in your software engineering career by leveragi
Price   $15.09
🌐
Medium
medium.com › @onurcelik.dev › python-for-javascript-developers-020a2d9e6203
Python for JavaScript Developers
January 9, 2025 - If you’re a JavaScript developer and want to dive into Python, this guide will help you get started quickly by drawing parallels between JavaScript and Python. We’ll start with the basics of project initialization and dependency management, then explore Python equivalents for common JavaScript functions, all with practical code examples.
🌐
Python
python.org
Welcome to Python.org
Possible causes include disabled JavaScript or failure to load scripts or stylesheets. ... # Python 3: Fibonacci series up to n >>> def fib(n): >>> a, b = 0, 1 >>> while a < n: >>> print(a, end=' ') >>> a, b = b, a+b >>> print() >>> fib(1000) 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 · The core of extensible programming is defining functions.
🌐
CodeCombat
codecombat.com
CodeCombat - Coding games to learn Python and JavaScript
Learn typed code through a programming game. Learn Python, JavaScript, and HTML as you solve puzzles and learn to make your own coding games and websites.
🌐
W3Schools
w3schools.com › js
JavaScript Tutorial
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.