Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 1998 23:28:58 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        FreeBSD-advocacy@FreeBSD.ORG
Subject:   Re: Merging Net/Free/Open-BSD together against Linux
Message-ID:  <365F982A.D878EE79@softweyr.com>
References:  <199811272232.PAA20989@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> 
> I'd agree if you wanted to say "Bad standards, like ISA, stifle
> innovation", though...
> 
> Not that I would mind rewriting all of libc to get rid off all static
> or per thread allocated buffers, and to make all functions return only
> status codes, forcing data returns to be implemented by passing a
> return area by reference, mind you.  I would *love* to see:
> 
>         int
>         ftell( FILE *stream, off_t*result)
> 
>         typedef u_int64_t       off_t;
> 
> (one example whre return values are overloaded to return error
> information, to the detriment of the long term utility of the
> interfaces).

I, on the other hand, would prefer to see:

	File::Offset
	File::tell()	// throws Error::Range, Error::...

and place the reporting of "exceptional conditions" into a separate
error communications channel.  Let us not perpetuate yet another
bad standard.  YMMV.  ;^)

-- 
       "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                 Softweyr LLC
http://www.softweyr.com/~softweyr                      wes@softweyr.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-advocacy" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365F982A.D878EE79>