This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Swapnil Borkar
Posted Feb 24 - Read on Facebook

Should I be bothering to learn CoffeeScript if Framer is going to be moving to ECMA soon?

8 Comments

Jordan Robert Dobson

It won't hurt. They aren't too different. I don't know how soon it will be either. Maybe a few months yet?

Harsha Halvi

Coffeescript is easy to learn and ECMA is harder but its usable everywhere so you can actually code stuff for the web and the like.

Jordan Robert Dobson

Well to be honest coffeescript is usable everywhere too!

Vlad Mafteiu Scai

Where does it say it will move to ECMA?

KJ Prince

Yea it's a pretty quick learn if you've taught yourself similar concepts (Haml, Sass, Liquid, etc)

Radek Kyselý

Swapnil Borkar You can already write your Framer prototypes in ECMA. Just put your JS code inside backticks :)

`
let button = new Layer ({width: 100, height: 50});
`

Not sure if it will collide with template strings though. You can try it out :)

Swapnil Borkar

Thanks a lot guys. Will be learning this in a couple days :)

Isa Bison

If you understand variables, functions, conditionals, and loops you can travel to whatever language you want. (Ok, inheritance can come too.)

Read the entire post on Facebook