So why not Node.js? Presumably it's down to maturity.
162 karma · joined November 17, 2012
So why not Node.js? Presumably it's down to maturity.
I'm surprised there isn't an equivalent OS one, I think Yeoman is a pale comparison of it.
DirectoryScanner.scanLibraries = function(librariesRoot) { // Asynchronous Function Callback function // | | fs.readdir(librariesRoot, this.onLibrariesDirRead.bind(this)); };
All I've done is pass in a bound method on an object as the callback function. OOP does work for Node as far as I can tell I broke nothing with my code, it's all async/evented...
Can you give me an example as to how my coding style would break Node? I'm genuinely confused.
Here is a simple example in some Node.js code I've just written (I've never written any before this little project).
https://github.com/Offler/node-bundler/blob/master/lib/bundl...
As you can see you just need to write in an OO manner and use function.bind(this) and Bob's your uncle. Really don't get the difficulty.
Nothing could cause such pain without a lot of hard work.
It's not likely that any client would use all of our code and so we have build a tool framework that only pulls in the JS code that your application uses, this is done without a build and is immediately available (add a 'new namespace.sub.Class()' line and hit f5 and it will be in the js bundle you get.)
We bundle js, css, xml, i18n tokens etc.
All automatic and requiring no build.
If you only work with IE9+ (all the other browsers are quite good now) you will be working in a run time environment that is far superior to those available in the DHTML/Ajax era.
Another issue is that very few people know how to do large scale JS applications, where I work we do (130,000K+ lines of code, 900+ classes) but it has taken us several iterations to get to this stage.
I believe we are planning on making our tools open-source so hopefully people will start to see that large scale JS apps are very doable. www.caplin.com if you want to keep an eye on the open sourcing of our tooling.
Enough said.
If you have two choices one bad and another less bad you will chose the less bad, when instead you may just want to step back and ask is either choice the correct one.
We have both wide ranging general knowledge and focused technical conversations in my office involving groups of people and I would be sad to lose that.
Talk about something that can deliver value or engage people and then the conversations are worthwhile.
" Sarah Houghton 10 Dec 12
The ironic thing is that as a librarian, I can tell you that for the last decade (at least) most libraries don’t enforce “library silence.” We encourage people to talk, to collaborate, to discuss. As long as you’re not annoying the hell out of the people around you, we encourage a low level of conversation and noise. "
The components built are FX tiles, trade and order tickets.
The browser becomes a VM, in fact it's already one but they want to make it far, far more powerful. This is a very good thing.