Gnome Goes JavaScript

Scott Elcomb psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Feb 5 19:53:40 UTC 2013


On Tue, Feb 5, 2013 at 1:10 PM, Lennart Sorensen
<lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> I have yet to see elegant javascript.  coffeescript is pretty elegant
> and compiles to javascript.

I'm not really a fan of coffeescript but have to admit some interest
in Microsofts' typescript which also compiles to js:

<http://www.typescriptlang.org/>

As for elegant javascript, anecdotal evidence suggests it's dependent
on skill level. John Resig's simple inheritance model comes to mind as
a good example <http://ejohn.org/blog/simple-javascript-inheritance/>.
"Learning JavaScript Design Patterns" by Addy Osmani provides more
<http://addyosmani.com/resources/essentialjsdesignpatterns/book/>.

Some of the node.js developers are downright awe inspiring.  While not
particularly "elegant," dnsserver.js - an authoritative DNS server -
is still one of my favorite examples of javascript outside of the
browser environment.  Clocks in at < 500 lines, comments and empty
lines included.

<https://github.com/sh1mmer/dnsserver.js>

-- 
  Scott Elcomb
  @psema4 on Twitter / Identi.ca / Github & more

  Atomic OS: Self Contained Microsystems
  http://code.google.com/p/atomos/

  Member of the Pirate Party of Canada
  http://www.pirateparty.ca/
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list