Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Code Categorization

by vroom (His Eminence)
on Mar 09, 2000 at 23:25 UTC ( #5118=monkdiscuss: print w/replies, xml ) Need Help??

neshura e-mailed me with what she has a problem with, and I'll admit I'm not too happy with the current set up myself. Right now there are three places for users to add code: the Craft page, the Snippets Section, and the Code Catacombs.
  • Craft was what we originally started with. It had its own display type so you could type in code without any tags around it and have it displayed nicely. The bad thing about this was that although it was displayed on the front page it's viewable life was short unless you kept hitting next links
  • Snippets was our response to this people could add short blurbs of useful code and we would slowly categorize them for easy browsing
  • Code Catacombs were for larger pieces of code, scripts or modules that stood on their own
Now there are so many places to put code (not even counting the Obfuscated Code section) that users - especially new users - don't know where to put their code. Also, snippets and pieces of code aren't set up to be quite as easily viewed in a frontpage sort of format right now because they contain some additional types of information that other types don't have.

What does everyone else think about this issue?

Replies are listed 'Best First'.
RE: Code Categorization
by chromatic (Archbishop) on Mar 10, 2000 at 00:31 UTC
    With the ability to use the <code> tag in replies, one raison d'etre for Craft is gone. One possibility is making another text field dedicated to code, associated with replies... but that's overly complex.

    I think just telling people to wrap code in the proper tags helps immensely. Merge Craft and Snippets.

RE: Code Categorization
by subpop (Sexton) on Mar 11, 2000 at 23:43 UTC
    why not just have code stored in one place and let the user decide on which sections to put the code in with something like index numbers. Say if a person decides they want to put code in, they just go to the code vault and place their code in (easy, simple to keep the code in correct format no matter where it's displayed since you only have to worry about formatting once) and then when the code is submitted have the user put indexes for which area they want the code displayed (1=catacomb, 2=Snippets, 3=Obfuscation, etc....). this may not work for everything but at least it keeps people from having to put the code in more than once.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://5118]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-08-08 16:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found