56 points · by silentbicycle · 17y ago · 57 comments
This “toy” should be the core mechanic of the game minus any goals or decisions. There is no win or lose state, just a fun thing to play with.
I liked ken's comment about Mirror's Edge not unlocking abilities, but you can't use them til you encounter the appropriate geometry in the environment (or I think, maybe you could use them before, but you didn't need to, as there were simpler more obvious ways to complete the task using abilities that you already knew about).
For example: movement in an editor. The cursor keys will allow you to do anything; but the word-movement keys can often do what you need more efficiently. Then, in vim (using it as an example because I know it), you can search to the right using "f<somechar>", and there's also F, t, T, ; and ,.
Interestingly, I've only really started to use the latter ones after years, because I'm having a touch of RSI, and I have a need for fewer keystrokes.
One could convert vim (for example) from a toy into a game by adding goals. These goals would have progressively greater difficulty such that they need the more sophisticated controls to accomplish them.
Having a need for something gives you a motivation for learning it; but it also makes it cognitively easier to learn. When you have a gap or lack in your mind crying out for a solution, acquiring the solution that fits that gap makes you feel "ah, that's better!". This makes it more memorable; and creates a strong link from the problem to the solution, making the solution accessible to you the next time you need it - making it useful to you, in practice.
A novice friendly interface should not impede an experienced user, and there should not be experience based modes. You don't see much of these days. MS Word is an example of a crappy interface. Some non-esoteric functions are hidden away in non-discoverable corners and it does magical things as a default. Eclipse is another program with a crappy interface, because of different modes and views. I have finally accommodated my self because it eases the intense pain of Java programming, but on the whole I would rather use UltraEdit.
Of course none of this applies to emacs users. They are are a secret society unto, themselves, kind of like the Masons.
Dude. Using Emacs really isn't that hard, and mystifying it doesn't do anybody any favors. (I can understand if it's not your cup of tea, though.) It just does a bad job of "creating the illusion of simplicity" (as Grady Booch once put it).
M-x describe-bindings - List of all keybindings for the current mode
M-x describe-mode - Information about the current major mode
M-x apropos - Search for info on subject
Emacs is the self describing editor!
IT professionals I've worked with do this kind of stuff all the time to keep employees from breaking stuff until it's shown that the employees can handle the added functionality.
I also disagree that HN's downvoting feature is an example of progressive learning. It's more about controlling trolls and setting expectations in the community. You have to earn your keep before you can negatively affect change. It's a feature of the meritocracy, not of the usability.
Not to detract from the discussion, but this isn't an actual feature on YC. AFAIK, nobody can down-vote (although editors can [dead]).
Many other classic games (and most of my favorites) follow the same pattern. I do not think Tetris or Pac-Man would be better if you "unlocked" features on higher levels.
I do wish my text editor was better, but I want to make programming more like other successful cooperative creative activities. Maybe a Brooks surgical team, or an orchestra, would be more appropriate inspiration.
Part of me is sad that our craft seems to be losing its "take 10 years to really learn your tools". Just because "Rock Band" is a hit doesn't mean the Seattle Symphony is struggling to find musicians.
Progressive disclosure works well in computer games, which are relatively linear. Shortcuts in text editors are just that - shortcuts. Perhaps it might be more appropriate to ambiently detect when someone is going the long way about a task, and recommend a shorter route.
Ex sequence: End, Shift + Home, Del
Recommends: Ctrl + Shift + Del (Scintilla line delete shortcut)
Of course, its interface could be better structured for gradual learning - while the documentation is certainly there (info pages, C-h t), there's a lot to learn upfront. Advanced features for difficult stuff shouldn't get in the way of basic tasks.
The problem with learning emacs is that there are two phases. There's the stuff that you have to know or you can't do much of anything. Some of that is inevitably complicated, because it's slightly different from anything that a Mac or Windows user has seen before -- keyboard navigation, multiple modifier keys that can be used consecutively, keymaps and keybindings, major and minor modes, kill-and-yank instead of cut-and-paste, buffers, Emacs "windows" versus OS "windows", panes, prefix arguments).
The idea of having a gradual reveal of these features is a good one. But isn't that called the "emacs tutorial" and hasn't it been built into the editor for twenty years? ("C-h t"). Other people have argued that some of these features should be altered or compromised or disabled for new users -- it has been tried many times. I'm of the camp that hates this: You shouldn't screw up the carefully-designed semantics of emacs by installing Mac-style copy-and-paste. If you want to just visit the emacs world but aren't yet prepared to live there you should just go use TextMate or something in the meantime. It's not as if there are no alternatives.
The other, much larger portion of the learning curve is all the nonessential but incredibly powerful stuff that emacs can do: macros, customization, Dired-mode, shell-mode, hippie-expand, dabbrev, yasnippet, magit, Lisp interactive mode, gnus, org-mode, ido, Icicles, Zippy the Pinhead, Towers of Hanoi, blah blah blah. But it would take freaking forever to design a video-game-style walkthrough of all of that stuff, and the result would take forever to play through, and it would bore a lot of people because everyone's favorite 10% of the emacs universe is different.
I do think the emacs world would benefit from a lot more screencasts, but I'm not sure that going beyond that to game design is worth the trouble.
We haven't reached a dead end for editor (or interface!) innovation yet - look at ACME (http://doc.cat-v.org/plan_9/4th_edition/papers/acme/), for example. I don't like it (it's too mouse-centric for my taste), but it has quite a few interesting ideas, as does plan9. Probably, Emacs will absorb most interesting features from other editors instead ("worse is better" and all that), but good may come of questioning its assumptions.
I'm just trying to start some interesting discussion. Slow news because of the holidays, and all.
There's a big difference between fundamental power and actual usefulness. A volcano is fundamentally powerful, but good luck trying to convince it to build your house for you.
In practice, a useful fundamental power will sooner-or-later manifest itself as a big, complex, occasionally sloppy ecosystem of useful tools. We don't interact directly with geothermal energy. Instead, some people build generators that turn it into electricity, and then other people build factories to build fans that run on the electricity, and then shopkeepers build stores that can sell the fans. So, when I need to be cool, all I need to do is buy a fan, plug it in and turn it on. I don't need to start from scratch and build it all for myself.
What am I saying? I'm saying that you're welcome to start over with an emulated Lisp machine and a set of minimalist editing commands. And then you're welcome to build useful things like (e.g.) js2-mode on top of that minimalist editor. But then you will slap yourself on the head because you will discover that you've gone to all this trouble, but all you've done is rewritten emacs! Meanwhile, if I want to edit Javascript, all I do is download Yegge's js2-mode and turn it on.
But would rebuilding emacs in an innovative way be a good thing? Yes. It's not a bad idea at all. But it's hard to make it pay off. TextMate has made a very solid attempt, but I'm suspicious of the long-term merits of the closed-source, one-platform model, and an editor has to be built to last. (I note that the new fashion seems to be for TextMate users to try emacs!) And who is going to pay you to write another open-source editor? It is not a small project.
What I envision is not a single gigantic emacs game in which you start at level 1 ("a four year old") and proceed to level 793 ("Yegge"), but a directory full of games that you can choose to play in any order, depending on your interests.
Clearly the next step is for someone to produce an emacs mode for writing wizard-ish tutorials about other emacs modes. ;)
I find I usually need to use a new feature a few times before it sinks in, this can be hard when it's not something I need very often. A game like thingy where I could try out the feature a few times (maybe completing a timed task or something) would maybe help that a lot, and could be fun too (for the weird definition of fun that applies to people who like learning new Emacs commands)!
I'd probably be up for participating in a project to create a set of these games, anyone else?
I'll check back on replies to this comment after Christmas, then maybe put up a project page.
A "how to use the help" game/tutorial/screencast would probably be the most useful, overall.
The Emacs tutorial starts this way, too. "Here's how you move a letter. Here's how you move a word. Here's how you move a page." It would be great (but probably too much to ask) for the same instructional style to continue through more advanced usage.
OTOH, I've been using the rectangle commands (e.g. rectangle-open, rectangle-delete) since nearly the beginning. I like them and often find them handy. So for me the right time to unlock rectangles is "on the third week".
And so it goes. Everybody's use case is different. Everybody explores a different subset first. Everyone's idea of the most important emacs feature is different. This is quite unlike a game. One major reason that games use the gradual-unlocking strategy is to keep you interested in following their linear plot. But, after the first few days, emacs doesn't have a linear plot, and we probably don't really want it to.
Grouping functionality by task in a way that would be simple to navigate would probably be a good start, though elisp doesn't really have a same namespacing system anyway. (Does XEmacs? I know it has a packaging system, but I use GNU Emacs.) Something like adding an alist or hash-table of symbols for task descriptions -> relevant functions, such as 'file, 'rectangle, 'email, 'basic wouldn't be too hard to retrofit onto the existing system. A bunch of redundancy wouldn't hurt, and a navigation system as in iswitchb or anything would probably work.
I'm busy with projects ATM, but I'd be interested in doing this...and aside from tagging existing stuff, it would be fairly quick. It could potentially be a newbie-friendlier version of apropos, because part of the problem with apropos is that you have to know general terminology in the first place.
If this already exists and I don't know about it...that might just prove my point.
Rectangle commands on the other hand I've not managed to internalize yet, I know they exist and I see they must be very useful. But whenever I come accross something that possibly could use them I end up using something else.
When you're binding your own keys you need to know what that key already does so you can decide if it's something you use now or might use in the future. If it is then you probably don't want to use that key.
It would be a pretty bad situation to get to a "you've unlocked new feature X"! But then find that the key for new feature X is the same one you're fingers know to do something else. Not that you couldn't just rebind it to something else but that would just lead to a huge amount of differences from the norm with no good reason (on top of the the already huge amount of differences from the norm for a good reason that most peoples Emacs already carry around).
You can make the most complex software work for the simplest every day person if you open it up gradually. Why do I have all of the crap that currently exists in Microsoft Word if I don't even need it? Arguably, this is why there is so much hype around products such as Basecamp that are a world simpler than the current products that exist. We're trying to build 1 product to accomodate 100% of its users.