Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

node.js is the future

Name: Anonymous 2012-08-13 16:24

1. familiarity always wins
2. sharing code, even 10% of your application, rapes any other language feature
3. std library  is small and designed purely for talking to networks/fs, making it fun to work with, unlike say python or cpp
4. easy to get started with

Name: Anonymous 2012-08-13 21:20

>>13

- Everything is in the same namespace
good thing. try modules
- No block scoping
uh js scoping is the least broken of any mainstream language
- No class support
good thing. classes are terrible
- No typing
dynamic typing is a plus when you are writing a program that IO heavy, like a webserver
- Verbose and ugly
that's fair. first class functions more than make up for it and allow for declarative syntax. see d3 for an example.

>>9
for loops are broken. don't use them. try underscore or use 1.5 array iterators.

>>6,7
processes are better than threads, and you should be offloading all blocking computation to a child process.

if async hurts your brain, there are fibers and a hundred other libraries for synchronous execution

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List