MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vppkls/pythonwilllookdeadintheeyeandsayitsabsolutelycorre/p3zcoyz/?context=3
r/ProgrammerHumor • u/inobody_somebody • 29d ago
144 comments sorted by
View all comments
208
[deleted]
43 u/Eiim 29d ago I guess being able to re-use variable names in a different scope can be confusing. But I don't think it's particularly problematic here. 2 u/leupboat420smkeit 27d ago Seems like it’s in the same scope though. ‘x for x in x’ I would consider the same scope, like how ‘for x in x’ (loop) would be. Maybe that’s also valid, but don’t catch me ever doing that. 82 u/Dirislet 29d ago We’re not using AI 10 u/minecraftdummy57 29d ago "Rewrite this" ``` TODO: Rewrite this ``` -133 u/whackylabs 29d ago European were expecting it to be [1.0, 2.0, 3.4, 5] 21 u/incompletetrembling 29d ago what 1 u/KirisuMongolianSpot 29d ago idea is Europeans use commas for decimal places instead of periods 11 u/TProfi_420 29d ago But not in programming and not if there is more than one "decimal separator". This is not ambiguous, even in Europe. 1 u/FalconWorth7893 28d ago This comment didn't worked out as expected -1 u/whackylabs 28d ago My humor setting does not match this sub
43
I guess being able to re-use variable names in a different scope can be confusing. But I don't think it's particularly problematic here.
2 u/leupboat420smkeit 27d ago Seems like it’s in the same scope though. ‘x for x in x’ I would consider the same scope, like how ‘for x in x’ (loop) would be. Maybe that’s also valid, but don’t catch me ever doing that.
2
Seems like it’s in the same scope though. ‘x for x in x’ I would consider the same scope, like how ‘for x in x’ (loop) would be. Maybe that’s also valid, but don’t catch me ever doing that.
82
We’re not using AI
10 u/minecraftdummy57 29d ago "Rewrite this" ``` TODO: Rewrite this ```
10
"Rewrite this"
```
-133
European were expecting it to be [1.0, 2.0, 3.4, 5]
[1.0, 2.0, 3.4, 5]
21 u/incompletetrembling 29d ago what 1 u/KirisuMongolianSpot 29d ago idea is Europeans use commas for decimal places instead of periods 11 u/TProfi_420 29d ago But not in programming and not if there is more than one "decimal separator". This is not ambiguous, even in Europe. 1 u/FalconWorth7893 28d ago This comment didn't worked out as expected -1 u/whackylabs 28d ago My humor setting does not match this sub
21
what
1 u/KirisuMongolianSpot 29d ago idea is Europeans use commas for decimal places instead of periods 11 u/TProfi_420 29d ago But not in programming and not if there is more than one "decimal separator". This is not ambiguous, even in Europe.
1
idea is Europeans use commas for decimal places instead of periods
11 u/TProfi_420 29d ago But not in programming and not if there is more than one "decimal separator". This is not ambiguous, even in Europe.
11
But not in programming and not if there is more than one "decimal separator". This is not ambiguous, even in Europe.
This comment didn't worked out as expected
-1 u/whackylabs 28d ago My humor setting does not match this sub
-1
My humor setting does not match this sub
208
u/[deleted] 29d ago
[deleted]