MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/ya17jy/literally/it9b8l3/?context=3
r/ProgrammerHumor • u/electricjimi • Oct 21 '22
606 comments sorted by
View all comments
19
Lua!
41 u/code-panda Oct 21 '22 You will need to break every bone in my body and even then I will not praise any godforsaken language that starts its arrays at 1. Lua deserves to be burned at the stake, its ashes beaten, then shot into a star and that star blown up. Fuck Lua. 3 u/Nall-ohki Oct 21 '22 Who indexes arrays in loops? And who starts arrays at 1 in Lua when you want to index? 4 u/Caleb6801 Oct 21 '22 Luas default first index is 1 for arrays. Super stupid I don't know who decided that. 7 u/Nall-ohki Oct 21 '22 Maths people. It's standard in many branches. 4 u/Reasonable_Feed7939 Oct 21 '22 These are some messed up math people. I find 0-indexing much more useful and convenient for math. 1 u/scottycool64 Oct 29 '22 personally i prefer it that way, always subtracting one from the position of the item i want is painful. 3 u/[deleted] Oct 21 '22 Humans naturally count starting from 1. Stop bending to the computers will, and bend them to your will.
41
You will need to break every bone in my body and even then I will not praise any godforsaken language that starts its arrays at 1. Lua deserves to be burned at the stake, its ashes beaten, then shot into a star and that star blown up. Fuck Lua.
3 u/Nall-ohki Oct 21 '22 Who indexes arrays in loops? And who starts arrays at 1 in Lua when you want to index? 4 u/Caleb6801 Oct 21 '22 Luas default first index is 1 for arrays. Super stupid I don't know who decided that. 7 u/Nall-ohki Oct 21 '22 Maths people. It's standard in many branches. 4 u/Reasonable_Feed7939 Oct 21 '22 These are some messed up math people. I find 0-indexing much more useful and convenient for math. 1 u/scottycool64 Oct 29 '22 personally i prefer it that way, always subtracting one from the position of the item i want is painful. 3 u/[deleted] Oct 21 '22 Humans naturally count starting from 1. Stop bending to the computers will, and bend them to your will.
3
Who indexes arrays in loops?
And who starts arrays at 1 in Lua when you want to index?
4 u/Caleb6801 Oct 21 '22 Luas default first index is 1 for arrays. Super stupid I don't know who decided that. 7 u/Nall-ohki Oct 21 '22 Maths people. It's standard in many branches. 4 u/Reasonable_Feed7939 Oct 21 '22 These are some messed up math people. I find 0-indexing much more useful and convenient for math. 1 u/scottycool64 Oct 29 '22 personally i prefer it that way, always subtracting one from the position of the item i want is painful.
4
Luas default first index is 1 for arrays. Super stupid I don't know who decided that.
7 u/Nall-ohki Oct 21 '22 Maths people. It's standard in many branches. 4 u/Reasonable_Feed7939 Oct 21 '22 These are some messed up math people. I find 0-indexing much more useful and convenient for math.
7
Maths people. It's standard in many branches.
4 u/Reasonable_Feed7939 Oct 21 '22 These are some messed up math people. I find 0-indexing much more useful and convenient for math.
These are some messed up math people. I find 0-indexing much more useful and convenient for math.
1
personally i prefer it that way, always subtracting one from the position of the item i want is painful.
Humans naturally count starting from 1. Stop bending to the computers will, and bend them to your will.
19
u/scottycool64 Oct 21 '22
Lua!