Nice! It sounds like it's almost even complete (we just have to keep up with _why!). I like the idea of multiple templates, like a gem template or abstraction template (using the $app = self trick)-- I'll pull your repo later and if I can I'll try to help out. As far as the parentheses go, I like non-parentheses too but there might have been some situations when the non-parentheses added some ambiguity. It's probably fine though, so I definitely support non-parentheses, -tieg
On Mon, Jul 21, 2008 at 2:01 AM, Joshua Ballanco <[EMAIL PROTECTED]> wrote: > Ah! I knew there was something else... > Tieg, I noticed that you've used parentheses in all your snippets. While > this is not wrong, I feel like the trend with Ruby is to not use them unless > they are needed. So, for example, it would be: > > oval 20, 30, 40, 50 > > instead of: > > oval(20, 30, 40, 50) > > Of course, there are times when you do need the parentheses. So, I guess > the question is: "what should the snippets do?" Would it be better to leave > out the parentheses, so that using the snippets results in more Ruby-ish > code? Or would it be better to leave the parentheses so that beginners using > the snippets don't get into trouble? > > - Josh > > > On Jul 20, 2008, at 11:43 AM, Tieg Zaharia wrote: > > Hey Josh, > I setup a little bundle too but haven't had much time to work on it. It > looks like you've got the Syntax, and I've got the Snippets-- maybe our git > projects could mingle? > > http://github.com/tiegz/shoes-textmate-bundle/tree/master > > -tieg > > On Sun, Jul 20, 2008 at 2:16 AM, Joshua Ballanco <[EMAIL PROTECTED]> > wrote: > >> Hey list! >> >> Well, it's not much, but I've started a TextMate bundle for Shoes. You can >> find it at: http://github.com/jballanc/shoes.tmbundle/tree/master. Right >> now, it doesn't do much (and no, I'm not being modest...it really doesn't do >> much). I've added the various special Shoes words to the language grammar, >> and there's a "Run in Shoes" command linked to command-R. Next step is to >> add some useful snippets. Hence, why I'm sending this to the list. Ideas? >> What snippets would be most useful? I'm thinking basic snippets for "stack" >> and "flow", but what properties should show up by default? >> >> Cheers, >> >> Josh >> > > >
