3 ms·
Actually in not all languages do arrays start at 0. In ColdFusion for example arrays start at 1. I've never been able to receive a reason as to why CF's origi
by rmason 4y ago
Actually in not all languages do arrays start at 0. In ColdFusion for example arrays start at 1. I've never been able to receive a reason as to why CF's original author, J.J. Allaire, did it that way.
- amilios 4y agoalso Lua and R.
- ur-whale 4y agoAnd Julia, an otherwise nice language.
- Grazester 4y agoCame here to say this about CF. I work in Coldfusion but coming from a background of other languages I would always reference 0 as the start of an array. This was the source of countless errors for me until I got use to it.
- Grazester 4y agoCame here to say this about CF. I work in Coldfusion but coming from a background of other languages I would always reference 0 as the start of an array. This was the source of countless errors for me until I got use to it. My manager thinks it was done to make the language easier to understand for people just getting into programming.