Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(Re:)+ SOP6W

by rir (Vicar)
on Apr 27, 2003 at 04:29 UTC ( [id://253448]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: SOP6W
in thread SOP6W

How could we distinguish Perl 5 and Perl 6 code? I'd suggest we add a <code6> flag and have the monastery render code marked as Perl 6 in a different font.

Personally I find such conventions easy to quickly forget with disuse because the association of font and language is arbitrary. I think this will not be of much help to occasional users or first-timers here. I see a lot of edits to add code tags and such now.

I like this idea, the idea just doesn't address the problem as I was envisioning it.

Something like halley's suggestion puts the issue explicitly in front of every seeker. Perhaps to the left of the Title entry widget something like a required selection widget:

This post relates to: Perl5 Perl6 Both N/A Don't Know

Whether the monastery would want to make someone who selects Dunno jump through more hoops before seeking wisdom is a tough question for me. I find such stealth dialogs unfriendly.

Replies are listed 'Best First'.
Re: (Re:)+ SOP6W
by TheDamian (Vicar) on Apr 27, 2003 at 21:36 UTC
    Personally I find such conventions easy to quickly forget with disuse because the association of font and language is arbitrary.
    In general, of course, you're right. But in this particular case we're talking about two successive versions of the same language. So we have a clear temporal sequence. So I think we can have a very simple and self-evident mnemonic: use an older-looking font for the older language.
      self-evident mnemonic: use an older-looking font for the older language.

      Excellent idea but the devil is in the details. Without using antique fonts I'm still not sure I'd know which is which. I think many people could not sequence monospaced fonts invented after the typewriter. At least not those that I would endorse for use here.

      You place the onus on the seeker to know which Perl version he uses and to know the PM arcana show that to his readers. I'd rather see something like the required selection box modify the behavior of a <code> tag. And additionally have specific code or perl tags for the more expert user.

      I did not make it clear earlier: I'd expect that one result of the selection list would be an information box near the title of the node, and perhaps its replies.

      (I'm responding to your earlier post since your current one has clarified it for me.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-26 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found