Brion Vibber wrote:
On Wed, 9 Jul 2003, Timwi wrote:
Thanks again for your input. Now that my Wikipedia test server works fine (yay!), I was able to test my own patch.
Which reminds me, did you get CVS working?
Not today; kept having the EOF problem. (Is Sourceforge working on that problem at all?)
?: probably should _never_ be used without parentheses, since it's such a confusing sonuva.
With well-chosen indentation, I find it absolutely not confusing at all:
return $var == $value1 ? $variable : $var == $value2 ? SomeOperation( $variable ) : $var == $value3 ? "Literal value" : 0;
or something like that.
I don't think things like '' should cross block-level boundaries like paragraph breaks
I agree.
Another possible rendering is:
<p><em>line 1</em></p> <p>line 2<em></em></p>
in which we treat '' as a toggle which is reset at the end of a block.
Of course. :-) I was going to mention this alternative too, but I forgot. This will also be very easy to code.
Timwi