Hacker News new | ask | show | jobs
by marcosdumay 452 days ago
Yes, numbers and strings are the same type in Javascript and PHP. And yes, a C++ constructor declares a subtype relation.

That's the semantics of those languages.