hubotio / hubot

A customizable life embetterment robot.

Home Page:https://hubotio.github.io/hubot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coffeescript 2?

blitmap opened this issue · comments

Hi,

I in no way want to create a counter-productive conversation.

I saw that Hubot relatively recently converted to Javascript from Coffeescript. For a while it was uncertain if Coffeescript would support transpiling to ES2015 Javascript. When I looked through the issues raised it seemed related to how Coffeescript did import/require(). Now there is officially a Coffeescript 2 that supports ES2015 classes.

I don't know what I'm suggesting, but had this been looked at?

https://coffeescript.org/#classes

Feel free to tell me this has been settled and I'll bugger off. :)

That is good to know about coffeescript 2, thanks!

I don't see us switching back to coffeescript now that we have moved over though. The main motiviations in my mind are:

  • using javascript means it's more approacable to existing javascript developers than coffeescript is
  • it is simpler for letting users use their own coffee-script version, rather than being tied to hubot's required version.