fn is a often used as a variable name
279 karma · joined November 15, 2014
About the :: syntax: http://spiderlang.org/#code-safety-global-scope-usage
About the extends/super syntax: http://spiderlang.org/#functions-inheritance
However, ambiguous syntax is a huge problem of CoffeeScript. Read more here: http://ceronman.com/2012/09/17/coffeescript-less-typing-bad-...
For example, safe object navigation. This code in Spider/CoffeeScript:
var x = a?.b?.c?.d;
compiles to something like: var x = typeof a !== "undefined" && a && a.b && a.b.c ? a.b.c.d : void 0;I thought about adding a require statement such as:
require "vm"
require (
"util",
"io"
)
That would also support git repos, inspired by DuoJS (https://github.com/duojs/duo): require "alongubkin/phonertc"Make sure to report any bug you encounter so I can fix it as quickly as possible!