Hacker News new | ask | show | jobs
by whyever 2710 days ago
> Accessing components by named dimension instead of numeric indices (assuming clean syntax) would reduce mental overload for both readers and writers of code.

Couldn't this be solved (at least for the reader) by using descriptive variable names when accessing the dimensions?

1 comments

This is exactly how I solve the problem for myself, however if this is a language feature it will be neater, more concise, automatically verifiable, and universally legible by everyone.