Javascript: The Good Parts is a great book. Often I find myself reading passages like the following from the perspective of a language designer:
undefined
andNaN
are not constants. They are global variables, and you can change their values. This should not be possible, and yet it is. Don't do it.
Takeaways:
undefined
in my Javascript code.undefined
immutable.A different more subtle example would be "for in
shouldn't enumerate over prototype properties".
I want a book at talks about these issues of language design outside of the context of a particular language.
If you were trying to design the "perfect" OO language, what books would you read for guidance?
The web site 'lambda the ultimate' is very much about programming languages, and they occasionally have some good resources, although they tend to be more interested in academic kinds of things. Functional programming is big there, for instance.
http://lambda-the-ultimate.org/node/3
http://lambda-the-ultimate.org/papers
http://lambda-the-ultimate.org/node/492
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With