Gnome Goes JavaScript

William Weaver williamdweaver-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Feb 5 20:41:11 UTC 2013


> I consider objected oriented programming to be a Bad Thing in general.

I personally would like to know the reasoning for that. It seems a pretty
heavy handed dismissal of an approach to programming.

Will Weaver



On Tue, Feb 5, 2013 at 3:38 PM, Lennart Sorensen <
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:

> On Tue, Feb 05, 2013 at 02:53:40PM -0500, Scott Elcomb wrote:
> > 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/>.
>
> I consider objected oriented programming to be a Bad Thing in general.
>
> > 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>
>
> Not bad.  434 lines (including generous good comments).
>
> Not sure how much the 'use' statements add toit, but system library use
> is not a bad thing.
>
> OK, apparently it is possible to write pretty decent looking javascript.
> I still don't think I will consider it elegant, but that's personal
> taste too.
>
> --
> Len Sorensen
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20130205/d9c513d9/attachment.html>


More information about the Legacy mailing list