|
Posted by Jonathan N. Little on 06/08/06 00:20
dorayme wrote:
> In article
> <1149692460.728808.48130@j55g2000cwa.googlegroups.com>,
> "Steve Pugh" <steve.grumpy@gmail.com> wrote:
>
>> Jonathan N. Little wrote:
>>> Steve Pugh wrote:
>>>
>>>> Ah, that explains it. You're trusting the opinions of that crank
>>>> Wiersch. Maybe he can give an example of a browser that cares about
>>>> the last ; in a rule?
>>> I haven't come across a browser that cares about the *last* rule missing
>>> the ';', but I add it for several reasons
>>>
>>> 1) habit from programming c, Perl, PHP...
>>> 2) consistency, just anal that way
>>> 3) prevents error when appending rule*
>>>
>>> *the last rule the ';' is option but it certainly is not for rules
>>> internal to the set! I've wasted too much time searching for the one
>>> missing ';' so got in the habit of always terminating rules with ';'.
>>> The habit works effectively with JavaScript statements as well...
>> I agree. I too add the ; out of habit. And I'm not going to argue with
>> anyone who says that it's a good idea to get in to that habit.
>
> Well, good for you two goody two shoes. I sometimes deliberately
> leave it out to feel I am doing something a touch risque...
>
> :)
Hey! I thought it was offered as a *helpful* tip! But you line living on
the edge, must be a Martian way ;-)
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|