Re: Python from Wise Guy's Viewpoint
On Fri, 24 Oct 2003 18:18:25 -0700, prunesquallor wrote:
[color=blue]
> "Andreas Rossberg" <rossberg@ps.un i-sb.de> writes:
>[color=green]
>> Sorry, but that reply of yours somewhat indicates that you haven't
>> really used modern type systems seriously.
>>
>> All decent type systems allow you to define your own types. You can
>> express any domain-specific abstraction you want in types. Hence the
>> type language gives you additional expressive power wrt the problem
>> domain.[/color]
>
> Cool! So I can declare `Euclidean rings' as a type an ensure that I
> never pass a non-Euclidean ring to a function?[/color]
In Ada, you can
--
Jay O'Connor
- Online organizational software for teachers
On Fri, 24 Oct 2003 18:18:25 -0700, prunesquallor wrote:
[color=blue]
> "Andreas Rossberg" <rossberg@ps.un i-sb.de> writes:
>[color=green]
>> Sorry, but that reply of yours somewhat indicates that you haven't
>> really used modern type systems seriously.
>>
>> All decent type systems allow you to define your own types. You can
>> express any domain-specific abstraction you want in types. Hence the
>> type language gives you additional expressive power wrt the problem
>> domain.[/color]
>
> Cool! So I can declare `Euclidean rings' as a type an ensure that I
> never pass a non-Euclidean ring to a function?[/color]
In Ada, you can
--
Jay O'Connor
- Online organizational software for teachers
Comment