You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Researching various API nits to see if I can find a compelling majority. (Feel free to comment/add).
Conventions
Intervals expressed as start/count?
Currently I use start/count because it's unambiguous wrt. if the 'end' is inclusive/exclusive.
Points, intervals, etc. are open-coded as numbers (as opposed to arrays, objects, etc.)
This was done out of fear of hidden array/object allocations, but never verified.
Vector, Matrix, etc. are distinct types.
Related to the above, if we were to pass coordinates/sizes as arrays, we could generalize vectors, matrices, etc. to n-dimensional arrays.
Naming
'col' as an abbreviation for column?
'numRows' as an abbreviation for 'number of rows'?
[number, number].