Hacker News new | ask | show | jobs
by orangesilk 56 days ago
"count" is an incomplete type, the same as "array" is an incomplete type. "count of fruit" would be a complete type, compare to "Array of int64".

SI leaves this underspecified, which causes confusion with dimensionless units.

1 comments

> "count" is an incomplete type, the same as "array" is an incomplete type. "count of fruit" would be a complete type, compare to "Array of int64".

Javascript has arrays of unspecified types, and count of items of such arrays. I don’t think your analogy holds

Perhaps the SI system needs generics :)