On May 19, 2007, at 8:57 AM, Sam Ruby wrote: > Note: while there is some obvious benefits to keeping the high level > design of the two implementations in sync, I have no interest in > drawing > attention to language differences. If there are obvious Ruby idioms > that can make a given section of code smaller or clearer, then by all > means, such idioms should be used.
Alright, I'm gonna do some rubyfying: First, superficial changes, based on the style guide [1]: 1. indentation 4 spaces -> 2 spaces - patch at [] 2. camelCaseMethods -> underbar_methods - TODO still, probably incrementally, since it's a big change 3. more rubyisms (using #first instead of [0], for example) - another incremental task Deployment/etc. 1. rubyforge - I've updated [3] to point to [4] 2. rubygems - as mentioned previously, I'd like to package the ruby code under rubygems. I think it'd be nice to get the basic rubyisms taken care of first. I'm sure I'll find more suggestions as I dig deeper into the code (and try to make use of it). -ryan 1. http://www.caliban.org/ruby/rubyguide.shtml 2. http://code.google.com/p/html5lib/issues/detail?id=41 3. http://rubyforge.org/projects/html5/ 4. http://code.google.com/p/html5lib/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "html5lib-discuss" group. To post to this group, send email to html5lib-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB -~----------~----~----~----~------~----~------~--~---
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4