|
Posted by Steve Pugh on 06/07/06 15:01
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.
But reporting it as an error because some unspecified browsers have
unspecified problems with it is just rubbish and deserves to be pointed
out as such.
Steve
Navigation:
[Reply to this message]
|