Comment

Comment by unoti

  > It’s reasonable to assume "foo bar and hello world" will compile to either:
  > foo(bar) && hello(world)
  > foo(bar && hello(world))
Feel free to sprinkle in additional operators to increase the clarity and readability of your code. Coffeescript is extreme in what it allows. But even C code can be made more clear by using more operators than the compiler actually demands.

I'm not really trying to come to the defense of Coffeescript here, but I think it's worth noting that adding more operators for clarity is a good thing. I even go as far as adding additional variables for clarity, because the names can show what you're thinking as you do the computations involved in a complex expression.

Although Coffeescript is worse than most, any language will allow you to write expressions that are hard for humans to parse.

parent unoti 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton