I personally believe that a hyphen as a word separator makes it as readable and typical as possible, so I recommend it where possible (in some contexts, a hyphen cannot be used, for example, in identifiers in most languages). It is important to keep in mind that the scheme you choose will be relevant to the requirement that users will use with your library, and you want to avoid using a different gem name than the library name .
poorly
# gem install my_cool_lib require 'my-cool-lib'
Good
# gem install my_cool_lib require 'my_cool_lib'
Unfortunately, a small part of the libraries violates this simple usability rule. Do not be one of these libraries. :)
Pistos Oct 21 '08 at 14:53 2008-10-21 14:53
source share