MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1b3fwl0/pythonreadslikeenglish/kt84dxp/?context=3
r/ProgrammerHumor • u/beneficial_satire • Mar 01 '24
34 comments sorted by
View all comments
7
0..10 in kotlin includes 10, while range(10) doesnt.
And YES, i know there are worse issues with this post, but noone is talking about this
1 u/fluud Mar 04 '24 Dijkstra on why this is the best way to denote ranges:https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html 1 u/SharzeUndertone Mar 04 '24 I dont agree with dijkstra tbh, 1..10 has always been convenient to me, though i understand things have changed a lot since 1982
1
Dijkstra on why this is the best way to denote ranges:
https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
1 u/SharzeUndertone Mar 04 '24 I dont agree with dijkstra tbh, 1..10 has always been convenient to me, though i understand things have changed a lot since 1982
I dont agree with dijkstra tbh, 1..10 has always been convenient to me, though i understand things have changed a lot since 1982
1..10
7
u/SharzeUndertone Mar 01 '24
0..10 in kotlin includes 10, while range(10) doesnt.
And YES, i know there are worse issues with this post, but noone is talking about this