Goto Considered Harmful [was Re: Python and the need for speed]

Marko Rauhamaa marko at pacujo.net
Fri Apr 14 03:52:14 EDT 2017


Gregory Ewing <greg.ewing at canterbury.ac.nz>:

> Steve D'Aprano wrote:
>
>> If PIC is so great, why do no other languages have it?
>
> Something akin to it has turned up in other places, although usually
> in the guise of an output formatting facility rather than a way of
> describing how data is stored internally. For example, the PRINT USING
> found in some BASIC dialects.

You have the storage thing in SQL:

    CHAR(4)
    VARCHAR(256)
    YEAR(2)
    DECIMAL(5,2)


Marko


More information about the Python-list mailing list