RE: $^T inconsistant?

From: Wiggins D Anconia (wiggins_at_danconia.org)
Date: 07/14/04


Date: Wed, 14 Jul 2004 13:58:52 -0600
To: "perl.org" <perl.org@jpw3.com>, beginners@perl.org


> On Wed, 14 Jul 2004 15:33:21 -0400, Bob Showalter wrote
> >
> > Except that those are different in much more that just "documentation".
> > Don't go that way...
>
> I still don't understand the reasoning for this - how could adding
more to the
> sub signature be worse than not having any? Is there a URL that
describes why
> prototypes are bad? and if they're bad, why are they in the
implementation at
> all, why don't they generate warnings and why are they not documented
to be
> deprecated?
>

perldoc perlsub contains the documentation for prototypes. To me they
are inflexible and involve too much work when changing the args, maybe I
am naive, but that is probably my lack of background in C/Java. The
return value typing issue is much bigger for me, the beauty of Perl is
its contexts, and varying return value types at runtime. Late typing?
Can't remember what it is called....

http://danconia.org



Relevant Pages

  • Re: Meta-Meta-Programming
    ... People don't read documentation thoroughly enough. ... that still leaves them with a major testing ... people who are comforted by static typing expect. ... The wrapping approach has the advantages that: ...
    (comp.lang.ruby)
  • ANNOUNCE: Combined help file for Tcl, TWAPI, TDBC, Tcllib, Tklib, TDOM
    ... This is a compilation of the documentation for Tcl/Tk and the most commonly used extensions and libraries on Windows. ... Typing 'connection' will show the entries for TDBC as well as the IIRC package ...
    (comp.lang.tcl)
  • Re: Best editor for documented source code (.dtx) files?
    ... Various shortcuts are defined in DTX mode, e.g. by typing "%%%" at the beginning of a line, you get: ... I've taken to typing each documentation section on one long ... add a percent character in the next line if there is one in the current line; if there is no percent character in the current line, ...
    (comp.text.tex)
  • Re: IssueBulkTransfer
    ... > for my USB device. ... > the 4.2 release according to MSDN documentation. ... > when I attempt to issue the OpenPipes, ... > that if the prototypes are wrong then perhaps the structures are also wrong, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: html + javascript automations = [mechanize + ?? ] or somethingelse?
    ... Don't think about clicking a coordinate or typing something; ... Check out the documentation at msdn.microsoft.com for the application, ... done through javascript you should be able to do through automation, ... few of other things that javascript might have blocked for security ...
    (comp.lang.python)