588 karma · joined February 17, 2012
Ultimately though, wouldn't you want to use a js preprocessor that lets you write full spec ES6 and compiles down to ES4 or whatever your runtime target is? That's available today, and it doesn't confuse the meaning of class, fat arrow, variable scoping, etc.
http://www.youtube.com/results?search_query=cover+teenage+dr...
Great username, great band.
It's absolutely destined to be a classic album in every sense of the word, and I find it funny that most music heads I know can't see that because (imho) they are too afraid of being seen as someone who enjoys Katy Perry. Oh well, the kids who were 12 at the time will grow up appreciating it. I suppose it's for them anyway.
Unfortunately, social norms prevent us from listening with our ears.
For this, check out the fantastic node-postgres adapter from brianc as well as his node-sql package for authoring SQL statements.
https://github.com/brianc/node-postgres https://github.com/brianc/node-sql
I really think Pg is starting to blow Mongo out of the water.
Also, I'm not suggesting we "re-invent the wheel" or code everything from scratch. I'm an advocate for composing your app from small modules. Modern js is incredibly good at this.
This is how the nodejs guys are doing this via npm and I must say, it's staggering. The core node "framework" has a tiny API, and the heart of it is simply require().
[5, 10, 1].sort(function(a, b) { return a - b })
Or, in ES6:
[5, 10, 1].sort((a, b) => { a - b })
That's starting to look pretty nice if you ask me.