Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: AUBBC2 alpha development

by Anonymous Monk
on Oct 19, 2011 at 10:58 UTC ( [id://932359]=note: print w/replies, xml ) Need Help??


in reply to AUBBC2 alpha development

Does this look easy to use?

Looks easy enough, albeit low-level (WORDY)

I don't like magic numbers :) Instead of 'type' => '#' use names like

  1. lonetag, tagonly, tago, tag
  2. tagpair, tagbal, balancedtag, tagb, tag_balanced
  3. linktag, tagalt
  4. striptag

Better yet, instead of (or in addition to) add_tag, provide strip_tag, link_tag, balanced_tag, ...

I also don't like do_all_ubbc, as do_all isn't as informative as process , render, translate or transform,

Also, there is no clear and concise example of usage, either in demo , docs, or test suite

Replies are listed 'Best First'.
Re^2: AUBBC2 alpha development
by Anonymous Monk on Oct 20, 2011 at 10:09 UTC
    Is it (WORDY) in a good way?

    Im changing the numbers of type to names: single, balanced, link, strip and renaming do_all_ubbc to render I was thinking of name parse_bbcode, but its just names.. at some point that sub could have been called crap and working like a champ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found