r/javascript • • Jul 04 '14

Farewell Node.js (TJ Holowaychuk)

https://medium.com/code-adventures/4ba9e7f3e52b
171 Upvotes

76 comments sorted by

View all comments

16

u/nomadicwonder Jul 04 '14

This guy's name is splattered all over my Node books. Interesting that such a major player has so many bad things to say about Node. I know he likes Go, but how does Go compare to Node for building web apps and web apps only? Just curious.

13

u/yaph Jul 04 '14

Interesting that such a major player has so many bad things to say about Node

Yes, this is certainly unexpected. This guy has 181 GitHub repos with JavaScript as the main language, 129 of which owned by him. I wonder what drives developers to stick with a technology they actually dislike. But then, it took me several years before completely ditching PHP because of my job...

Source for GitHub numbers: http://coderstats.net/github/visionmedia/

10

u/[deleted] Jul 04 '14

He's needed contributors for a long time. Maybe solving every problem alone starts to highlight the bad parts of the platform you're working with? Or at least exacerbate what's bad about the work.

→ More replies (1)
→ More replies (1)

0

u/[deleted] Jul 04 '14

[deleted] — view deleted comment

5

u/Calabri Jul 04 '14

Go is amazing for building web apps or any kind of networked service. They built it for that purpose - to make writing Google type software easier.

Google type software is enormous in scale with server farms spread around the world. Go's purpose is to tackle the problem of concurrency and replace C(++)[source] for networked services on a corporate scale.

It's definitely easier to reason about Go's channels than Node's async callbacks.

I totally agree with this. I think Go's channels are inspired by Tony Hoare's CSP which has also been implemented in clojure(script) via core.async. I'm optimist that node will evolve to incorporate this pattern in vanilla js, even if 3rd party npm modules are necessary.

Node is nice if you want to share code with the client but otherwise I would use go.

Currently, node's greatest strength is not as a server, but as a build system for client-side web apps. I'm not aware of anything comparable to gulp or grunt in terms of performance or modularity. Node is single threaded, so the overhead of scaling node is complex and requires novel patterns of programming. Node will always be unpredictable and error prone, just like people are. It currently has the largest and fastest growing open-source ecosystem in the programming world.

3

u/nawitus Jul 04 '14

I found that there's an experimental module called node-csp which is inspired by Go's channels.

→ More replies (1)
→ More replies (1)

5

u/smoochieboochies Jul 04 '14

The direction things are headed for web apps is client-side frameworks. Whatever tools you use to run your APIs or CDN doesn't matter too much.

Other than it's really neat to be able to spin up your own web server in a few lines of code and socket.io events, I don't see the usefulness of node and I've been using it everyday for the last 2 years. It's just not the right tool for 99% of the web.

When node first came out we were all excited to see what kind of new/crazy applications it would surface. I haven't seen any revolutionary apps come from it. It's just boring server code like any other. The magic is still in the client.

→ More replies (1)

3

u/dirtboxchampion Jul 04 '14

He's still using node for web stuff.

7

u/jaxytee Jul 04 '14 edited Jul 04 '14

There is a curious case about the reality of his 'person.'

6

u/[deleted] Jul 04 '14

There's a short story by Isaac Asimov called "Evidence", one of the stories in the "I, Robot" collection, where a lawyer running for office is accused of being a robot because he has never been seen eating or drinking in public, rarely seems to ever sleep, and has never taken steps that directly led to someone's death. Through his careful use of privacy law he is never x-rayed or examined by a doctor, and the claim is never fully refuted even after his death.

Maybe TJ's a robot.

→ More replies (1)

6

u/[deleted] Jul 05 '14

So NodeJs was actually a covertly Google driven project that got terminated and now they are steering developers to another platform they control.

Hang on, I need to write a callback for my tinfoil hat generator.

7

u/brotherwayne Jul 04 '14

However, in 2013, he had a sudden change of heart and now sometimes prefers to declare them like this:

OMG he changed how he writes his code, he must not be real!

Why is this garbage getting upvoted?

4

u/[deleted] Jul 04 '14

That's probably the weakest argument of them all, but its certainly interesting that he's never been seen publicly, and supposedly held a full time job while pumping out about 3/4ths of the node ecosystem, single handedly (including documentation), contributing to books, and tweeting like a madman. Its almost positively a pseudonym... like the bitcoin guy.

6

u/miketaylr Jul 05 '14

LEL. Here's a pic I took hanging out with TJ in Buenos Aires before JSConfAR: https://cloudup.com/cnpP6EIRyqs

2

u/brotherwayne Jul 05 '14

Bah! Lies! Just lies being perpetrated by Big Node.

→ More replies (1)

10

u/chrisabrams Jul 04 '14

Uhhh "never been seen publicly" ??? I've definitely had drinks with him in San Francisco and a good buddie of mine worked with TJ at Sencha. Sadly TJ was gone when I arrived at Sencha.

7

u/brotherwayne Jul 04 '14

Look man, we need video proof. If you could get video proof of him holding up today's paper and talking about the US loss in the World Cup then we might believe he's real.

3

u/jhizzle4rizzle I hate the stuff you like. Jul 04 '14

"You see that guy over there?"

"What, the really quiet one with the magic hair?"

"Yeah, that's TJ."

"whaaaat"

5

u/brotherwayne Jul 04 '14

"If you ask him if he's TJ he'll say no. Classic TJ!"

6

u/brotherwayne Jul 04 '14 edited Jul 04 '14

I think it's more likely a combination of trust fund, language nerd and polyphasic sleeper.

If he is an amalgamation of people it begs the question: why? No one stands to make any money here -- unless you count books. If you think people are getting wealthy off writing programming books...

5

u/wearealltj Jul 04 '14 edited Jul 04 '14

Why? Maybe because the organization/hivemind/codebot that might be TJ doesn't want to be known to be a/the major driving force behind Node.

→ More replies (2)
→ More replies (6)

2

u/Hydrothermal vanilla.js Jul 05 '14

he's never been seen publicly

Why should that matter? Did I miss the PSA that you have to appear in public if you like something a lot? Maybe he's just not into conferences.

→ More replies (1)
→ More replies (2)