--0016e65a07a42c9e93049a2e96c9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Le 18 janvier 2011 22:01:11 UTC+2, Gary Wright <gwtmp01 / mac.com> a ˝─rit :

>
> On Jan 18, 2011, at 7:30 AM, Phillip Gawlowski wrote:
> >
> > - methods that modify the object (or caller) itself, should be
> exclamations:
> >  obj.truncate!
> >  obj.remove_name!
> >  obj.date! "Julian" # I wish I could do obj.date "Julian"!, instead. Ah,
> well.
>
> I think the conventional wisdom is that this should only be done only if
> there is a matching non-mutating method that has the name without the
> exclamation mark.


Someone may give more info on why it should be like this:

---
Edmond
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/) |
Malawi

Cell:  +265 999 465 137 | +265 881 234 717*
**
An old dog does not hunt because of speed, but his endurance of the heart.*

--0016e65a07a42c9e93049a2e96c9--