Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

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


Comment on Re: AUBBC2 alpha development
Select or Download Code
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
Node Status?
node history
Node Type: note [id://932359]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-04-20 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls