Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petermichaux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
petermichaux
14y ago
You're right about the event being part of the DOM. If that is a concern, you can define your own view handlers that unpack the DOM event and forward the data to the controller handler. There is no way to autogenerate view handlers that kno
2.
▲
by
petermichaux
14y ago
SetView.js contains a class called "maria.SetView". borrow.js does not contain a class but a function called "maria.borrow". Regardless these files all are concatenated to become a file simply called maria.js.
3.
▲
by
petermichaux
14y ago
A controller and the strategy pattern allow a view to behave differently by plugging in a different controller into the view. This interchangeability of behavior is not something I've leaned on frequently in my own programming. I am finding
4.
▲
by
petermichaux
14y ago
Which differences? You can use any file system hierarchy you like with Maria.
5.
▲
by
petermichaux
14y ago
fzzzy, Thanks for taking a look at Maria. You definitely got the gist of how things work with Maria but there are a few subtleties that might change your perspective on the relationship between views and controllers in an app built with Mar
6.
▲
by
petermichaux
15y ago
They didn't say "The King Henry VIII is dead. Long live the King Edward VI". In the JavaScript article, The "OLD king" is "JavaScript the source language". The "NEW king" is "JavaScript the compilation target". So the idea of old and new is
7.
▲
by
petermichaux
15y ago
You know how on January 10th, 2011 you were still writing 2010 by accident? I was off by a decade. Corrected.
8.
▲
by
petermichaux
15y ago
If you like minimalistic languages, have you checked out Scheme? Because of its macros, the core language can stay small and the users can expand its syntax.
9.
▲
by
petermichaux
15y ago
There was an ES4-to-ES3 compiler. The Traceur compiler takes many of the Harmony ideas and compiles to ES3.
10.
▲
by
petermichaux
15y ago
Yes but many of the ideas in CoffeeScript were likely slated for ES.next before CoffeeScript. So it has been working in both directions.
11.
▲
by
petermichaux
15y ago
Features that can be added through libraries should be added that way. You cannot add new syntax which involves scoping of variables through libraries. How would you do destructuring assignments with a library and have it as succinct as it
12.
▲
"LuaJIT's interpreter () beats V8's JIT compiler" - Mike Pall
(lambda-the-ultimate.org)
55 points
by
petermichaux
17y ago
|
17 comments
13.
▲
by
petermichaux
17y ago
http://github.com/jrockway/lisp Please let us know when it is ready ;-)
14.
▲
by
petermichaux
19y ago
Please write about how you do this and how you interact with the files (loading and serializing). I'm looking at alternatives to using relational databases and information about how to avoid data corruption (features analogous to transactio