gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Nit


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] Nit
Date: Thu, 23 Oct 2003 06:55:02 +0100
User-agent: Mutt/1.5.4i

On Wed, Oct 22, 2003 at 11:58:20AM -0700, Dustin Sallings wrote:
> 
> On Wednesday, Oct 22, 2003, at 05:35 US/Pacific, Andrew Suffield wrote:
> 
> >>Since perl has no number types,
> >
> >Totally wrong. Fundamentally so, even. Perl has three primitive
> >numeric types (two integer, one floating) plus a bunch of interesting
> >things done using magic, several of which are distributed in the core.
> 
>       This is clearly a matter of perspective.  The closest type perl has 
>       is a scalar which is sometimes interpreted as a number if the 
> conditions 
> are correct.  In my example, "0" by itself is considered a number for 
> the condition, but "0.0" is not.  Math is possible on both of them.  
> String manipulation is possible on both of them.  In fact, the only way 
> to tell if a scalar is a number is to perform string pattern matching 
> operations on it.  Languages with numeric types don't have this issue.

You are simply wrong, and clearly do not understand perl scalars.

> >I've read the Fatal documentation carefully, and it most definitely
> >describes what it does accurately and precisely, and not what you say.
> 
>       I've read the documentation carefully as well, along with the 
>       source.  However, such modules shouldn't be so obscure that this is 
> necessary.  It gives open and close as examples.  It should be safe to 
> assume that read and syswrite can be used the same way.  They cannot.

So now you're saying that, in fact, the documentation is accurate and
your assumption is wrong?

>       You said that only a moron would write code that doesn't check for 
>       all errors...er, unless it's writing to stdout or stderr since ENOSPC 
> is 
> obviously a temporary error and applications should queue up writes and 
> try again later.  Except yours since you specifically avoid checking 
> the results in the first place.

Straw man. Yet again.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]