Thoughts on stream-adventure?

100 views
Skip to first unread message

Jeremy W. Sherman

unread,
Jan 19, 2014, 8:10:13 PM1/19/14
to Book Club
Wondering what people thought about stream-adventure.

Mostly it seemed like a "let's type" intro to various useful libraries, though I think it also gave you enough chances to trip over things with streams that you picked up some useful intuition for them.

That through library is remarkably useful, and I must give Node credit: npm works well and quickly.

I wish I'd noticed the "Debugger" docs section on the Node APIs page earlier. I bet that would have come in handy once or twice!

I found having to dig around for docs on how exactly things worked the most frustrating part of working through the exercises. People make fun of Xcode's docs browser, but it could be far worse.

Most of the time, the docs were scanty. Sometimes, they were just plain missing, like the tar library. And sometimes, the docs were there, they just weren't coherent and there was no overarching "here's how this all fits together" guide.

So I think overall it gave me a renewed appreciation for how much good docs (and not just class/method references docs) matter, and that should be useful even should I never touch Node again.

(Also, I posted my solutions to https://github.com/jeremy-w/node-stream-adventure-solutions, if you'd like to compare notes. :D)

Stephen Christopher

unread,
Jan 19, 2014, 8:16:18 PM1/19/14
to Book Club
This the starting point? http://nodeschool.io/#stream-adventure

Ow my eyes. 

Willing to poke at it a bit though. When does this session wrap up - Tuesday?

Step Christopher
Director of Products
Big Nerd Ranch, LLC



--
- Voting Choices: http://j.mp/bnrbc-texts
- Chat: http://j.mp/bnrbc-chat
- Google Group: http://j.mp/bnr-bookclub
---
You received this message because you are subscribed to the Google Groups "Big Nerd Ranch Book Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bnr-bookclub...@googlegroups.com.
To post to this group, send email to bnr-bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/bnr-bookclub.

Jeremy W. Sherman

unread,
Jan 19, 2014, 8:20:59 PM1/19/14
to Book Club
It was slated to wrap up Tuesday, but we could extend it if people are interested in taking some more time.

That site is actually kind of a dead-end. You can't really do anything there. Instead, you just `npm -g install stream-adventure` and then run the stream-adventure binary. (Get npm via `brew install node`.)

All your work is done locally on your machine:

- Run stream-adventure and pick a challenge.
- Write a foo.js file that meets the challenge.
- `stream-adventure run foo` to run it in the harness and see if you're getting sane output.
- `stream-adventure verify foo` to see your output vs. the expected output. If they match, you pass, and you should start back at the "run stream-adventure to pick a challenge" step. Rinse and repeat.

Theoretically you could write in whatever not-JS thing you want, compile down to JS, and then let it run that output file.
2014/1/19 Stephen Christopher <schris...@bignerdranch.com>
Reply all
Reply to author
Forward
0 new messages