logoalt Hacker News

orangesilkyesterday at 7:13 AM1 replyview on HN

"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.


Replies

nlitenedyesterday at 11:38 AM

> "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