Hacker News new | ask | show | jobs
by nene 5359 days ago
But the thing is, they are not primitives:

> Although you might expect int and double to be primitive types, they're actually interfaces that extend the num interface. This means that int and double variables are also nums.

1 comments

That's actually kind of like Haskell.