3 ms·
This tutorial should really encourage the user to type various commands as part of the tutorial, rather than allowing progress by just typing "next" over and ov
by swombat 17y ago
This tutorial should really encourage the user to type various commands as part of the tutorial, rather than allowing progress by just typing "next" over and over again. The great thing about the try-ruby tutorial was that it actually gets you to type ruby commands to get to the next bit, thus forcing you to try out the syntax rather than just read a tutorial.
- alexmchale 17y agoI like this idea. Interactivity was on my mind while I was implementing the current version. There's lots of ways to improve the actual teaching process it offers, and it's something I'm interested in continuing to develop.
- riffraff 17y agoI guess you only saw trymongo but never experienced the original TryRuby? If not, please take a look at it :)
- m_eiman 17y agoAnother thing would be nice is if it was possible to click the sample commands and have them added to the command line history and executed, to save a bit on typing.
- bch 17y agoThis _DOES_ let you type commands. set fu 1 incr fu
- swombat 17y agoIt lets you type them, it doesn't ask you to type them. The Try-ruby tutorial asks you to type ruby statements to get to the next step.
- bch 17y agoI don't know how much more plain it could be: ========== We can use the command SET to store the value "fido" at key "server:name": SET server:name "fido" ========== %
- swombat 17y agoThe blue window above is a Ruby prompt. Type a line of Ruby code, hit Enter and watch it run! For example, try typing some math. Like: 2 + 6 See http://tryruby.org/ http://tryruby.org/ before talking further, please.
- ximeng 17y agoIt's also nice to not be forced to type in every single command and just to skip ahead if something looks obvious or you're getting bored. I liked this - a quick summary of what Redis can offer, better than skimming a lot of "NoSQL is better" articles. Would be interesting if the tutorial mentioned some of the scenarios why Redis is better than standard SQL at the end though. I'm left thinking - interesting, but what's the advantage over what I know already. All the sets, ordered sets, and so on can be done fairly straightforwardly in SQL. Examples of performance guarantees / benefits for example.