Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re (tilly) 4: Frivolous function names

by tilly (Archbishop)
on Dec 07, 2001 at 00:50 UTC ( #130064=note: print w/replies, xml ) Need Help??


in reply to Re: Re (tilly) 2: Frivolous function names
in thread Frivolous function names

I call that a really bad excuse.

Flipping flags in internal code is an incredibly easy and common error to make. There are some estimates suggesting that it is actually more common than off-by-one errors - but not as often caught because it is much harder to see the error. (According to legend I heard the very first Fortran compiler made this error - the flag determining whether to compile carefully or not was reversed. No idea whether that is true.)

As far as I am concerned the entire question of whether summon/get is OK is much less important than getting flags reversed. As matters stand, I don't think people would accidentally call summon, and most of the time get is right. But flipping flags is a basic error that you will make again and again...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://130064]
help
Chatterbox?
[RonW]: Is there an English language version of the site?
[LanX]: but Afaik Perl is on average about 10-20 times slower than C
[LanX]: no
[LanX]: but I could ask Herbert to elaborate
[1nickt]: http://rperl.org/ performance_benchm arks.html
[RonW]: 1nickt: Thanks. Looking at that

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-05-22 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?