News for hackers. Stuff that matters.
Re:Announcing CoffeeScript 2 by GeoffreyBooth on Monday September 18, 2017 @04:02PM (#15279014)
It’s not elegant, but there is a way to do type checking in CoffeeScript: http://coffeescript.org/#type-annotations
Re:Announcing CoffeeScript 2 by Yaggo on Tuesday September 19, 2017 @05:36AM (#15283049)
This is cool! That being said, it would be very nice to have (optional) syntactically more beautiful type annotation. I assume Flow must be compatible with regular javascript, but CoffeeScript could take more flexible approach. I have no idea what the actual syntax could be, though.
Re:Announcing CoffeeScript 2 by ralmidani on Monday September 18, 2017 @05:08PM (#15279606)
Thanks for the link. :)

But wow, "not elegant" is an understatement.