Which brings me to perlmonks. (See I am posting in the right place :-) In my experience when using the [pad://demerphq] link mechanism I am almost always giving a link to my own pad, rarely I end up doing it with someone else scratch pad, and even then its normally to show them how to do the link. Of course I assume that this is true for others as well.
So why is the link mechanism both in how its used and how it renders optimized for the least common case? Consider how it is rendered. [pad://demerphq] gets rendered (for me of course, your domain might differ) as <A HREF="/index.pl?node_id=108949&user=demerphq">demerphq's scratch pad</A> Which to me doesnt make sense. Normally i want to say something like "have a look at my [pad://demerphq]" but that renders as "have a look at my [demerphqs scratch pad]" which if I want it to render naturally I have to say "have a look at my [pad://demerphq|pad]".
Rendering aside (I brought it up first because IMO its probably easier to change) we get to the default behaviour of the [pad://] link. Why (assuming i have typed it in) does it not default to my own name? After all PM knows its me (I wouldnt be chattering otherwise).
So my proposal is this:
Thus the current usage wouldnt change (no suprises) but we would have it optimized for the most common usage, both on a link level and on a rendering level.
And yes I realize that in the grand scheme of PMDEV issues this a low priority. What I'm after is whether this also annoys other people and whether they think my cure is appropriate. Implementation (and related issues) can be left until a consensus is found.
Cheers all,
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
Edit kudra, 2002-04-24 Modified title, heading per author's request
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Optimizing for the common case...
by particle (Vicar) on Apr 23, 2002 at 17:10 UTC | |
by belg4mit (Prior) on Apr 23, 2002 at 19:40 UTC |