in reply to Re^3: nested tabular ternary
in thread nested tabular ternary
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 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: nested tabular ternary
by diotalevi (Canon) on Apr 11, 2006 at 03:52 UTC |