4 ms·
sometimes i program in Lua (which is 1-based) but mainly i write code in 0-based languages. The worst is really when you switch between the languages, but afte
by je42 6y ago
sometimes i program in Lua (which is 1-based) but mainly i write code in 0-based languages.
The worst is really when you switch between the languages, but after a while you get used to it.
You just need to watch out like a hawk, when calculating the index of the last element ;)