You are here: Re: Creativity and imagination: not marketable? « HTML « IT news, forums, messages
Re: Creativity and imagination: not marketable?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация