[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

1425: Re: [MUD-Dev] Introduction

[Full Header] [Plain Text]
From: clawrenc@cup.hp.com
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 15 May 97 10:40:50 -0700
References: [1]
Organization: Kanga.Nu
In <199705140820.KAA20287@regoc.srce.hr>, on 05/14/97 
   at 08:27 PM, silovic@srce.hr (Miroslav Silovic) said:

>Okay, a few examples: One of the situations that happens often is a
>function returning either result or 'I couldn't do it'. With typed
>system, you need to return two values explicitely. With untyped, you
>can return either a list of (integer) 0 (assuming that result is a
>list).

This would seem to presume that all types are simple types and thus
there are no aggregate, complex, or user-defined types in your
language implementation.  Why not have the function call return a
structure or equivalent?  (cf ColdX's frobs (which I don't like BTW as
they seem a hacked design solution))

--
J C Lawrence                           Internet: claw@null.net
(Contractor)                           Internet: coder@ibm.net
---------------(*)               Internet: clawrenc@cup.hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...