Hacker News new | ask | show | jobs
by kleff 2873 days ago
Even Visual Basic (of all things) allowed you to set it with Option Base. Never really understood why its not supported in more languages...
2 comments

Because due to UNIX's adoption every programming language needed to be like C.

Until then Fortran, Lisp, Algol, Pascal, Basic never had any big issue with indexes.

because the whole Option Foo stuff that Visual Basic had, is a hideous global state thing that makes it hard to reason about code without checking for what it's options were set to.

Programming languages should not be configurable in that kind of way.