Skip to content

Instantly share code, notes, and snippets.

@watilde
Last active November 15, 2016 07:29
Show Gist options
  • Select an option

  • Save watilde/e1e12bec1b6fba351fe066f59fa30635 to your computer and use it in GitHub Desktop.

Select an option

Save watilde/e1e12bec1b6fba351fe066f59fa30635 to your computer and use it in GitHub Desktop.
Node discussion at Tokyo Node festival 2016

Good Point

NPM

  • package.json
  • Ecosystem

Perfomance

  • Perfomance improvement
  • Optimaized for perfomance
  • Quick start for webapp
  • Stable

Community

  • People
  • Accessibility
  • Ecosystem

CLI

  • Repl
  • USeful command line tools

Async

  • Stream
  • Callback

Small & Simple

  • Small core/lib/api
  • UNIX philosophy
  • Lock of class structure

Easy to write

  • Easy to write for multiple platforms

Cross platform

  • Cross platform compatibility

Semver

  • Semver

Bad point

Compare operetor

  • typeof null: NaN === NaN
  • 0.1 + 0.2 ≠ 0.3
  • x == y
  • typeof null => Object

npm

  • npm is slow
  • npm security
  • Install time

Docs

  • Hard to use API docs
  • Lack of documentation standard

Async API

  • Promise: then, then, then...
  • Inefficient stream API

Memory

  • Huge memory overhead

Help TSC

  • Supporting LTS is short
  • Too many experts
  • Centralization of package mgmt

No need sync API

  • sync functions

User land modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment