[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Is this old style Ruby?
From:       Nikolai Weibull <mailing-lists.ruby-talk () rawuncut ! elitemail ! org>
Date:       2005-02-15 15:21:28
Message-ID: 20050215152106.GA5423 () puritan ! pcp ! ath ! cx
[Download RAW message or body]

* centrepins@gmail.com (Feb 15, 2005 16:16):
> So you would say use :: only for constant access, and use '.' for
> method access be it in a class or module?

Well class-methods are constant as well in a sense, hence the use of
"::" in Why's book and it being the (at least old-school) idiom,
	nikolai

-- 
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic