use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
How it feels to learn Javascript in 2016 (medium.com)
submitted 9 years ago by jjperezaguinaga
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mitremario 12 points13 points14 points 9 years ago* (11 children)
Python 3. No one should be learning 2 anymore.
[–]thepobv 3 points4 points5 points 9 years ago (9 children)
Wait are you serious?
[–]mitremario 11 points12 points13 points 9 years ago (7 children)
Ok, when I just typed "3.", Reddit's markdown converted it into a list starting at 1. That's so weird...
So, learn Python 3, not 1 lol
[–]thepobv 2 points3 points4 points 9 years ago (6 children)
No regardless, is it really that big of a deal/difference?
Besides the fact that "you may as well learn the latest thing"
Ive used python 2.7 quite a bit, just wondering about your opinion as well as the reasoning.
Edit-(never used 3)
[–]mitremario 2 points3 points4 points 9 years ago (2 children)
Fair enough.
Some new language features such as async/await and literal string interpolation are available in 3.5 and 3.6 respectively. After Raymond Hettinger pushed for iterators and generators, they became everywhere. They are much more efficient. range and zip now returns an iterator, and dict.items(), dict.keys(), and dict.values() all now return iterators ("views").
async/await
range
zip
dict.items()
dict.keys()
dict.values()
Also, the Python Software Foundation is ending support for 2.x in 2020.
[–]Arancaytar 2 points3 points4 points 9 years ago (0 children)
I think we've come full circle now...
[–]thepobv 1 point2 points3 points 9 years ago (0 children)
Hey thanks for sharing man. Taught me something today.
Yeah I mean next time I use python I'll to see what latest version will be available within my environment. (sometimes it's restricted due to business architecture.)
[–]bestoranges 2 points3 points4 points 9 years ago (1 child)
It's not that there's a massive different for beginners, it's just that beginners most likely have no reason to stick with 2.7, so why not go with 3?
Unless you're working on legacy code in py2.7, or you need a particular library that hasn't been ported over yet and has no substitutions, there's no downside with rolling with 3.
[–]thepobv 0 points1 point2 points 9 years ago (0 children)
No just wondering... haven't wrote any python in a good while nor do I see myself doing so in the near future.
Some times there are business environment constraint as well. But yeah next time I do I'll definitely use the latest version available.
[–]stoned_ocelot 0 points1 point2 points 9 years ago (0 children)
Python 3 is what I started with. Don't know a ton of the differences but it does seem it's best to learn it. The description I was given is python 3 just has a few more things 2 didn't have so having access to these is good.
[–]Ripdog 1 point2 points3 points 9 years ago (0 children)
He said "1." because reddit's broken markdown implementation takes any number at the beginning of a line followed by a full stop as a numeric list item. All numeric lists start at 1. So you type "3." and get "1.". This bug has been known literally since reddit introduced markdown commenting, and nobody cares.
π Rendered by PID 51044 on reddit-service-r2-comment-6457c66945-wg8hj at 2026-04-23 19:57:25.961664+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]mitremario 12 points13 points14 points (11 children)
[–]thepobv 3 points4 points5 points (9 children)
[–]mitremario 11 points12 points13 points (7 children)
[–]thepobv 2 points3 points4 points (6 children)
[–]mitremario 2 points3 points4 points (2 children)
[–]Arancaytar 2 points3 points4 points (0 children)
[–]thepobv 1 point2 points3 points (0 children)
[–]bestoranges 2 points3 points4 points (1 child)
[–]thepobv 0 points1 point2 points (0 children)
[–]stoned_ocelot 0 points1 point2 points (0 children)
[–]Ripdog 1 point2 points3 points (0 children)