News for hackers. Stuff that matters.
Re:Why I'm not a React Native developer by raquo on Sunday August 20, 2017 @01:32AM (#15057085)
That was a bad example indeed. If isImmortal was accepting any params though, you wouldn't be able to make it a getter.

And sure, Object.freeze exists, but almost none of the JS code I've seen uses it. And what's the point really when assignments to frozen fields don't even throw an exception, just fail silently. Same for getters. None of those tricks are gonna make JS into a good language in the eyes of people who don't for whatever reason consider it good already.

There are no comments on this comment yet.