[Ironruby-core] Overriding CLS Virtuals
hooligan495 at gmail.com
Sun Oct 26 08:58:35 EDT 2008
With respect to conventions the dynamic languages are the first languages
that I've used that can actually depend on the casing (and pluralization) to
work right (think active record models). Now it's no longer part of the
"readability" factor of code but it can play an important part in how a DSL
On Sat, Oct 25, 2008 at 7:59 PM, Orion Edwards
<orion.edwards at open2view.com>wrote:
> I used to think this kind of thing too.
> Each language (or large-subset-of-language) has it's own conventions.
> gnu/posix C: lower_underscore_case
> Microsoft C (eg the win32 api): UpperCamelCase
> Java: lowerCamelCase
> .NET: UpperCamelCase (except local variables which seem to be
> ruby/python: lower_underscore_case
> While none of the languages will stop you from using any conventions you
> like, it's MUCH easier to learn to put your ego aside, and go with the
> The simple fact is, you're going to be reading loads of sourcecode written
> by others in the form of examples and so forth, and if you get annoyed every
> time you see stuff you 'hate' - well you're going to be having a pretty
> unhappy time.
> On 25/10/2008, at 2:11 PM, Ted Milker wrote:
> On Fri, Oct 24, 2008 at 7:54 PM, Curt Hagenlocher <curth at microsoft.com>
>>> We're thinking now that we're going to go with the mangled version of the
>>> name instead of the originally cased-version. "Dispose" just doesn't
>>> Rubyish enough. Any objections?
>> My opinion does not count for much but I love Ruby openness and hate
>> the naming conventions. I much prefer camel case and .NET guidelines
>> for naming than underscore and lowercase hell. I am just getting
>> started with Ruby and have no intention of following the naming
>> conventions if I can avoid it. IronRuby and .NET are my platform of
>> choice for the future, even in its immature state.
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core