How Javascript Works by douglas crockford
I read this agreeing with much of it. Programs should be as simple as possible. Bugs are another expression of confusion. Things should be kept as simple as possible. This way of thinking extends to functions as well. In the world of programming, a completely pure function cannot exist, because you can’t avoid having a function loaded into memory. But functions should be as pure as possible. When they are pure, they become simpler, and you don’t have to worry about anything other than the function itself.
There’s more, too… I agree with the point about async/await: just by reading it, you can’t really tell what kind of syntax it is. Even though I’ve been using this syntax for more than ten years, I still get confused by it. But when it came to Neo, the new language that modifies JavaScript, I completely lost my mind.
20260819
Leave a comment