I don't see the "table" and it looks like you just scattered your code all across the page, as if it were scrambled.
hmm... maybe that has something to do with how it renders in your browser vs. mine, although as it's enclosed in code tags I wouldn't have thought so. But anyway, the idea is that the ":" and "?" parts of the ternary line up vertically - producing the table effect - hence the term "tabular ternary". Have you seen the examples in PBP that I referred to?
Here's a nicer lisp version of the same thing.
I've never used lisp, so I can't comment on that :)
It's got more in common with what I originally suggested than does what you alleged TheDamian recommended.
um, I'm not sure that I alleged anything. All I did was refer to two of the practices that he recommends in his book PBP, namely:

But anyway, as I said - my comments weren't meant as a critisism, but rather a commentary on style.

Cheers,
Darren :)


In reply to Re^4: nested tabular ternary by McDarren
in thread nested tabular ternary by bowei_99

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.