Better HN
topnewbestaskshowjobs
Log inSign up

dryule

2 karma · joined Dec 2, 2011 (15y ago) · 2 submissions

Submissions

comment 7y ago · link · parent

  alias c='cd'
  alias cd='cd ..'
Yes, I am lazy. Yes it has saved me thousands of keystrokes

comment 15y ago · link · parent

I'm pleased that this has been picked up and welcome your critique above.

You're point about not fully understanding coffee is probably fair. I didn't sit down and learn coffee before actually starting on this project and kind of picked it up as I went along.

Most of my comments were about personal opinion and I think coffee could be extremely useful if learned and used appropriately.

The syntax thing is more relating to the function vs -> points. By not putting "function" in a different color, I find it difficult to see where functions start.

The Ternary operator example, is indeed typo, missing line break. It was supposed to read

x = true

x? "Badger" : "Fish"

The points in the original post were my experiences with coffee and I hope to be able to use coffee in the future, but until I figure out the issue with closures and the language becomes more mature and has decent debugging tools, I'll stick to plain ol' JS.

Original Author