[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: [ ruby-Bugs-4151 ] Stack trace doesn't include class

From: Mathieu Bouchard <matju@...>
Date: 2006-04-20 22:07:28 UTC
List: ruby-core #7748
On Fri, 21 Apr 2006 dblack@wobblini.net wrote:

> I can't think of any context where I would use the word "class" to
> describe an instance of Module.  I know you've lobbied for unification
> of Module and Class, but as the language actually is, they're not
> unified and it's definitely not wrong to use the word "class" to refer
> exclusively to instances of Class.

If someone say "the class that a method is defined in", the word "class"  
better be replaced by "the module (or class)" or "the class (or the
non-class module)" or whatever. This is because, by, habit, many assume
that methods are to be defined in classes, when in Ruby, it's not true
(even when considering singleton classes).

So, given the terminology in Ruby, what Timothy said, "it doesn't contain
the name of the class containing the method", contains an assumption that 
is wrong in Ruby, because in this context, by "class" he means the more
general "module".

PS: In another language community, many users say the [foo] object instead
of the [foo] class, and we haven't lynched those people yet. (And that
language does have separate concepts of classes and objects).

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - t駘:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montr饌l QC Canada


In This Thread