removal of cruft from D

Leandro Lucarella llucax at gmail.com
Fri Nov 20 18:29:06 PST 2009


Bill Baxter, el 20 de noviembre a las 17:50 me escribiste:
> On Fri, Nov 20, 2009 at 5:31 PM, Leandro Lucarella <llucax at gmail.com> wrote:
> > Bill Baxter, el 20 de noviembre a las 17:18 me escribiste:
> >> On Fri, Nov 20, 2009 at 5:09 PM, Leandro Lucarella <llucax at gmail.com> wrote:
> >> > Bill Baxter, el 20 de noviembre a las 14:10 me escribiste:
> >> >> On Fri, Nov 20, 2009 at 2:12 PM, Adam D. Ruppe
> >> >> <destructionator at gmail.com> wrote:
> >> >> > On Fri, Nov 20, 2009 at 04:49:52PM -0500, Nick Sabalausky wrote:
> >> >> >> 2. Octal literals! I think it'd be great to have a new octal syntax, or even
> >> >> >> better, a general any-positive-inter-base syntax.
> >> >> >
> >> >> > Both D and DMC accept 0b0000 as a binary literal. If 0x is hex, it seems
> >> >> > logical that octal should be 0o10.
> >> >> >
> >> >> > It looks silly, but it fits the pattern, provides the literal for those
> >> >> > who use it, and isn't valid right now.
> >> >>
> >> >> Exactly what I was thinking. 0o08.
> >> >> Except I don't think it looks so silly.
> >> >> And even if it does look silly, who cares.  Octal literals *are* silly.  :-)
> >> >
> >> > And it is consistent with Python 3.0, if anybody cares ;)
> >>
> >> Yikes, python even allows 0O08.
> >> That's going to cause a little confusion.  Mind if we call you Bruce?
> >
> > I didn't get the... joke?
> 
> It's a quote from a Monty Python sketch. 

I thought about the Monty Python sketch, but I didn't get your joke still
=P, now that you say that the joke *is* about the sketch, I guess you were
just emphasizing how dumb it is to allow 0O08 as an octal literal =)

> I think I heard you're supposed to use as many Monty Python quotes as
> possible when discussing Python.

=P

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Hello?
Is there anybody in there?
Just nod if you can hear me.
s there anyone at home?



More information about the Digitalmars-d mailing list