josephg / ShareJS

Collaborative editing in any app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wondering why CoffeeScript was used?

thapar opened this issue · comments

As an additional dependency and allowing for only a subset of otherwise contributors, I was wondering why the choice to use CoffeeScript was made? I see in https://github.com/share/ShareJS/wiki/0.7-Status that one of the completed tasks for LiveDB is to convert to JS, will ShareJS do the same?

Good guess, but no - I used it because I really like programming in
coffeescript, and I hoped it would be how most node modules were written.
Any decent js developer can pick up coffee in a couple hours of reading
anyway. But to answer your question, ShareJS 0.7 has been rewritten in js
already. The mob has spoken.

It was also in JavaScript because you're not the boss of me. Maybe I'll
write my next program in Erlang, or clojure.

... I wrote ShareJS when node 0.4 was the latest. Back then I had people
ask me the same question, but instead they asked why I used node instead of
java. Surely that was cutting out a lot more developers, right?

If everyone always used the most common / popular language of the day, we'd
still be programming on punch cards. Be bolder.

The bold taste of coffeescript in the morning.

+1 for clojure! So where can I find this "rewritten in js" branch?

Um, master? /lib/*?
On Feb 21, 2014 10:26 AM, "thapar" notifications@github.com wrote:

+1 for clojure! So where can I find this "rewritten in js" branch?

Reply to this email directly or view it on GitHubhttps://github.com//issues/295#issuecomment-35758324
.

Wonderful, thank you!