Re:How I want to write Node: Stream all the things
by woah on Friday February 14, 2014 @06:51PM
(#7241912)
Wise words of wisdom from kimjotki2, the only real programmer on the internet. Bow down, bitches.
Re:How I want to write Node: Stream all the things
by coldtea on Saturday February 15, 2014 @07:52AM
(#7243623)
This is not reddit.
Re:How I want to write Node: Stream all the things
by mattgreenrocks on Friday February 14, 2014 @08:37PM
(#7242237)
What is it about JS that causes people to re-invent everything and call it progress?
Re:How I want to write Node: Stream all the things
by tjholowaychuk on Friday February 14, 2014 @07:51PM
(#7242097)
yup! node does streams horribly wrong
Why is this so an enlightenment for node guys? UNIX does it right since epoch - simple programs perform simple tasks and connected via pipes. Python has gevent, so you don't even need 'a stream' or other bullshit, you just write the code as-is and greenlets provide the concurrency needed.
The real enlightenment comes from 'programming properly'; you start with C and torture your brain with function pointers and realize why it is a good idea to treat functions as a first-class objects. then you learn some 'proper' functional programming languages like lisp or something to learn how to think in functional way. which is the only guaranteed and proven path to prevent yourself from shooting your own foot by writing 20+ nested callbacks. If you start with binding an anonymous function to a <button>'s click event and think you can do this to do real programming, you'll never get it right.