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

Re^2: Let shortcut types have useful behavior in the parameterless case

by jdporter (Canon)
on Aug 15, 2006 at 17:24 UTC ( #567505=note: print w/replies, xml ) Need Help??


in reply to Re: Let shortcut types have useful behavior in the parameterless case
in thread Let shortcut types have useful behavior in the parameterless case

any handler that doesnt have a sane no-target possibility should foward to the appropriate documentation page

That's a reasonable thing to do, but to my mind a better approach would be to let [foo://] DWIM from the writer's POV. IOW, if I want to link to the Perl Changes Browser, I write [apc://] If I want to link to the Wiki Wiki Web, I write [c2://]. If I want to link to the Perl docs, I write [doc://]. If I want to link to Wikipedia, I write [wp://]. And so on. Rather than assuming the author made an error.

There's precedent for both approaches ([id://] vs. [apc://]). However, given that [id://] doesn't have any other useful default semantics, I'm not convinced that this is the precedent to follow. I'd rather follow the [apc://] precedent.

We're building the house of the future together.

Replies are listed 'Best First'.
Re^3: Let shortcut types have useful behavior in the parameterless case
by ikegami (Pope) on Aug 15, 2006 at 17:31 UTC
    I think you misread. demerphq specified the handlers without "a sane no-target possibility" (e.g. the handlers for "http", "id" and similar) should link to docs on how to use them, not all of handlers.

      You're right - I did misread.

        Probably you misread because I used a double negative where it was less than clear. Sorry about that.

        ---
        $world=~s/war/peace/g

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://567505]
help
Chatterbox?
[marto]: a security event in the building, police dogs and and so on...
[Discipulus]: a test I hope..
[marto]: just a security event, they have people from the 'corporate' security, external security companies, the police etc
[marto]: perhaps I'll get the time to pin down some of the corporate security people, since they refuse to answer any questions

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-11-22 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (317 votes). Check out past polls.

    Notices?