MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2y74f8/?context=9999
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
140
I'm learning Python after learning C and lemme tell you, some stuff that Python does look so illegal yet they work. I love it!
121 u/[deleted] Aug 26 '20 Wondering though, why do people consider this a good thing in Python but a bad thing in JS? 0 u/[deleted] Aug 26 '20 [deleted] 12 u/g0liadkin Aug 26 '20 I mean, that's the biggest pillar of js: it will run most stuff and do its best or yield errors in the consoleFor some reason people love bringing up examples like adding objects to arrays and saying "omg jabbascreept so random lol"There are some cases where it's REALLY annoying though — e.g. typeof null being object 1 u/mxzf Aug 26 '20 The issue is that it doesn't yield errors or warnings to the console for a lot of those type of issues. → More replies (7)
121
Wondering though, why do people consider this a good thing in Python but a bad thing in JS?
0 u/[deleted] Aug 26 '20 [deleted] 12 u/g0liadkin Aug 26 '20 I mean, that's the biggest pillar of js: it will run most stuff and do its best or yield errors in the consoleFor some reason people love bringing up examples like adding objects to arrays and saying "omg jabbascreept so random lol"There are some cases where it's REALLY annoying though — e.g. typeof null being object 1 u/mxzf Aug 26 '20 The issue is that it doesn't yield errors or warnings to the console for a lot of those type of issues. → More replies (7)
0
[deleted]
12 u/g0liadkin Aug 26 '20 I mean, that's the biggest pillar of js: it will run most stuff and do its best or yield errors in the consoleFor some reason people love bringing up examples like adding objects to arrays and saying "omg jabbascreept so random lol"There are some cases where it's REALLY annoying though — e.g. typeof null being object 1 u/mxzf Aug 26 '20 The issue is that it doesn't yield errors or warnings to the console for a lot of those type of issues. → More replies (7)
12
I mean, that's the biggest pillar of js: it will run most stuff and do its best or yield errors in the console
For some reason people love bringing up examples like adding objects to arrays and saying "omg jabbascreept so random lol"
There are some cases where it's REALLY annoying though — e.g. typeof null being object
1 u/mxzf Aug 26 '20 The issue is that it doesn't yield errors or warnings to the console for a lot of those type of issues. → More replies (7)
1
The issue is that it doesn't yield errors or warnings to the console for a lot of those type of issues.
→ More replies (7)
140
u/Darcoxy Aug 26 '20
I'm learning Python after learning C and lemme tell you, some stuff that Python does look so illegal yet they work. I love it!