Hacker News new | ask | show | jobs
by dan-robertson 2807 days ago
> No == vs ===, although typeof has a simpler equivalent

Sure, but elm has its own issues with comparison as these are essentially implemented as a compiler hack, and only comparable (ie primitive or lists/tulles thereof) types can be used as keys for the built in map type (so you need to know about primitive types too)

1 comments

I'm sorry, but any language that has to rely on "===" to know what's in what is usually fundamentally screwed up. (Yes, I'll probably get downvoted for this. Oh well, truth often ain't popular.)