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

Re: AUBBC2 alpha development

by Anonymous Monk
on Oct 19, 2011 at 10:58 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932359]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2018-02-20 16:44 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (272 votes). Check out past polls.