Re: Python from Wise Guy's Viewpoint
From: Mario S. Mommer (m_mommer_at_yahoo.com)
Date: 10/29/03
- Previous message: Espen Vestre: "Re: Python from Wise Guy's Viewpoint"
- In reply to: Matthias Blume: "Re: Python from Wise Guy's Viewpoint"
- Next in thread: Pascal Bourguignon: "Re: Python from Wise Guy's Viewpoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2003 15:37:25 +0100
Matthias Blume <find@my.address.elsewhere> writes:
> Matthew Danish <mdanish@andrew.cmu.edu> writes:
>
> > Declarations can take this further, such that a compiler as smart as
> > CMUCL can manipulate raw (unsigned-byte 32) values, for example.
>
> Oh, so you're saying you want static declarations, checked and
> enforced by the compiler? Hmm, I've read this point of view in this
> thread somewhere.
The point is that you can use static typing when you want. It doesn't
stand in the way when you don't need it, which is most of the time.
> > Are the vast majority of your programs the type which behave properly
> > within machine-word integers?
>
> > > idea that the only correct result of 20 * 30 has to be 600.)
> >
> > (20 * 30) mod 256 is, of course, a completely different expression.
>
> Undoubtedly, it is a different expression. But it might mean the
> same, given a correspondingly chosen domain for 20 and 30, together
> with an certain * operation.
Indeed. It could well be 42. Or 3.141592. Or maybe "hum". Who knows,
who knows.
Just change the type declarations and - violà! - popcorn.
- Previous message: Espen Vestre: "Re: Python from Wise Guy's Viewpoint"
- In reply to: Matthias Blume: "Re: Python from Wise Guy's Viewpoint"
- Next in thread: Pascal Bourguignon: "Re: Python from Wise Guy's Viewpoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|