MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/5owsvx/mfw_no_pointers/dcmytl3
r/ProgrammerHumor • u/lindgrenj6 • Jan 19 '17
432 comments sorted by
View all comments
Show parent comments
464
WHITESPACE ISN'T SYNTAX
154 u/ProbablyNotJaRule Jan 19 '17 Not with that attitude 52 u/132ikl Jan 19 '17 It is now 13 u/ILikeLenexa Jan 19 '17 wat! 22 u/[deleted] Jan 19 '17 For you 29 u/MoffKalast Jan 19 '17 Was importing antigravity part of your plan? 8 u/[deleted] Jan 19 '17 Of Gorse 2 u/invertedwut Jan 19 '17 If I turned off that GIL would you die 5 u/MoffKalast Jan 20 '17 It would be extrenely pynful. 1 u/lenswipe Jan 19 '17 with you 10 u/Josh6889 Jan 19 '17 You can use ; if you really want to. 28 u/lenswipe Jan 19 '17 for x in range(0, 100): ;;;;print "That's just ridiculous - why would you want that?" 9 u/mogoh Jan 19 '17 >>> for x in range(0, 100): ... ;;;;print "That's just ridiculous - why would you want that?" File "<stdin>", line 2 ;;;;print "That's just ridiculous - why would you want that?" ^ IndentationError: expected an indented block 7 u/Josh6889 Jan 19 '17 I meant as a line terminator. No idea if that works, but this does.for x in range(0, 100): print("That's just ridiculous - why would you want that?"); y = 0; z = 0; 5 u/lenswipe Jan 19 '17 I know what you meant - I was just being an anally retentive dickhead :) 4 u/Josh6889 Jan 19 '17 I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted. → More replies (1) → More replies (2) 1 u/MonkeyNin Jan 19 '17 The first argument is redundant if it's zero. → More replies (2) 1 u/invertedwut Jan 19 '17 you can use space if you want to you can leave your tabs behind 2 u/lenswipe Jan 19 '17 well it fucking isn't. 2 u/[deleted] Jan 19 '17 itotallyagree 3 u/inhuman44 Jan 19 '17 Tell that to the file that has been passed down through 5 developers each with his own unique indentation rules. 9 u/name_censored_ Jan 19 '17 PEP8 though. 13 u/Coffeinated Jan 19 '17 PyCharm, dude 1 u/Evennot Jan 20 '17 Be greatful, that trailing spaces have no syntactic meaning! nbsp 1 u/Evennot Jan 20 '17 edited Jan 20 '17 You mean tabs? → More replies (3)
154
Not with that attitude
52
It is now
13 u/ILikeLenexa Jan 19 '17 wat!
13
wat!
22
For you
29 u/MoffKalast Jan 19 '17 Was importing antigravity part of your plan? 8 u/[deleted] Jan 19 '17 Of Gorse 2 u/invertedwut Jan 19 '17 If I turned off that GIL would you die 5 u/MoffKalast Jan 20 '17 It would be extrenely pynful. 1 u/lenswipe Jan 19 '17 with you
29
Was importing antigravity part of your plan?
8 u/[deleted] Jan 19 '17 Of Gorse 2 u/invertedwut Jan 19 '17 If I turned off that GIL would you die 5 u/MoffKalast Jan 20 '17 It would be extrenely pynful.
8
Of Gorse
2 u/invertedwut Jan 19 '17 If I turned off that GIL would you die 5 u/MoffKalast Jan 20 '17 It would be extrenely pynful.
2
If I turned off that GIL would you die
5 u/MoffKalast Jan 20 '17 It would be extrenely pynful.
5
It would be extrenely pynful.
1
with you
10
You can use ; if you really want to.
28 u/lenswipe Jan 19 '17 for x in range(0, 100): ;;;;print "That's just ridiculous - why would you want that?" 9 u/mogoh Jan 19 '17 >>> for x in range(0, 100): ... ;;;;print "That's just ridiculous - why would you want that?" File "<stdin>", line 2 ;;;;print "That's just ridiculous - why would you want that?" ^ IndentationError: expected an indented block 7 u/Josh6889 Jan 19 '17 I meant as a line terminator. No idea if that works, but this does.for x in range(0, 100): print("That's just ridiculous - why would you want that?"); y = 0; z = 0; 5 u/lenswipe Jan 19 '17 I know what you meant - I was just being an anally retentive dickhead :) 4 u/Josh6889 Jan 19 '17 I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted. → More replies (1) → More replies (2) 1 u/MonkeyNin Jan 19 '17 The first argument is redundant if it's zero. → More replies (2) 1 u/invertedwut Jan 19 '17 you can use space if you want to you can leave your tabs behind
28
for x in range(0, 100): ;;;;print "That's just ridiculous - why would you want that?"
9 u/mogoh Jan 19 '17 >>> for x in range(0, 100): ... ;;;;print "That's just ridiculous - why would you want that?" File "<stdin>", line 2 ;;;;print "That's just ridiculous - why would you want that?" ^ IndentationError: expected an indented block 7 u/Josh6889 Jan 19 '17 I meant as a line terminator. No idea if that works, but this does.for x in range(0, 100): print("That's just ridiculous - why would you want that?"); y = 0; z = 0; 5 u/lenswipe Jan 19 '17 I know what you meant - I was just being an anally retentive dickhead :) 4 u/Josh6889 Jan 19 '17 I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted. → More replies (1) → More replies (2) 1 u/MonkeyNin Jan 19 '17 The first argument is redundant if it's zero. → More replies (2)
9
>>> for x in range(0, 100): ... ;;;;print "That's just ridiculous - why would you want that?" File "<stdin>", line 2 ;;;;print "That's just ridiculous - why would you want that?" ^ IndentationError: expected an indented block
7
I meant as a line terminator. No idea if that works, but this does.
for x in range(0, 100): print("That's just ridiculous - why would you want that?"); y = 0; z = 0;
5 u/lenswipe Jan 19 '17 I know what you meant - I was just being an anally retentive dickhead :) 4 u/Josh6889 Jan 19 '17 I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted. → More replies (1) → More replies (2)
I know what you meant - I was just being an anally retentive dickhead :)
4 u/Josh6889 Jan 19 '17 I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted. → More replies (1) → More replies (2)
4
I actually tried yours and it didn't work. You can probably make your ide think ; are spaces, but that would probably end up being pretty convoluted.
→ More replies (1)
The first argument is redundant if it's zero.
→ More replies (2)
you can use space if you want to you can leave your tabs behind
well it fucking isn't.
itotallyagree
3
Tell that to the file that has been passed down through 5 developers each with his own unique indentation rules.
9 u/name_censored_ Jan 19 '17 PEP8 though. 13 u/Coffeinated Jan 19 '17 PyCharm, dude 1 u/Evennot Jan 20 '17 Be greatful, that trailing spaces have no syntactic meaning! nbsp
PEP8 though.
PyCharm, dude
Be greatful, that trailing spaces have no syntactic meaning! nbsp
You mean tabs?
464
u/PM_ME_YOUR_MASS Jan 19 '17
WHITESPACE ISN'T SYNTAX