3 ms·
Really? Maybe I should have another closer look at it. I saw this from the homepage: Embedded JavaScript Hopefully, you'll never need to use it, but i
by shadowmint 13y ago
Really? Maybe I should have another closer look at it. I saw this from the homepage:
Embedded JavaScript
Hopefully, you'll never need to use it, but if you ever need to intersperse
snippets of JavaScript within your CoffeeScript, you can use backticks to pass
it straight through.
...and struggled to do basic things like interact with handlebars and jquery, and figured it was one of those 'works with other things written in coffee script' things.
Not so?
Why are there so many SO questions about 'how do I use coffee script with XXX'?
(where XXX is some existing javascript library, eg. jquery)
- camus2 13y agoWhat specific problem did you have with jquery and coffeescript, or handlebars and coffeescript ,that's my question to you. Coffeescript is a 100% compatible with javascript , the fact that you can embed javascript in coffeescript is a feature of the language,not a problem. > I saw this from the homepage: So what ? > Why are there so many SO questions about 'how do I use coffee script with XXX'? How does it mean coffeescript has compatibility issues with javascript ? You are just bashing coffeescript without any real argument against it. There are arguments against coffeescript , compatibily with javascript is not one of them. You dont know coffeescript. If you knew CS you would not have these bogus arguments against it. Coffeescript fixes Javascript bad parts , Typescript doesnt,it just add a few keywords and compile time type checking to the language, which is unecessary. Typescript on the other has compatibility issues with javascript libraries since one needs ambient declarations to use 3rd party libraries, some extra work not needed with Coffeescript.