Reply to Re: A List of One.

Your name:

Reply:


Posted by Neredbojias on 04/10/06 17:25

To further the education of mankind, Dav�mon <"dav�mon"@nospam.com>
declaimed:

> Neredbojias arranged shapes to form:
....
>> In computer-related languages, the first thing is usually the "0"
>> thing. Javascript, for example, numbers the initial item in the
>> images array (-and all arrays) "0". It can be argued that a zero
>> item should be an empty item but the logical fact is that even an
>> empty item is one part of the set of "whatever" selected from all
>> possible parts of the set of "whatever". An empty list is
>> conceptually still a list if originally defined so and not nothing
>> (-using the double negative in its correct form.)
>
>
> Ok, so say you've got an array in PHP, Perl, Javascript or whatever,
> and you're going to output it to HTML. If the array is empty - should
> we output nothing at all because there is no list, or output <ul></ul>
> to denote that the set is there?

What is output is irrelevant to the discussion. Sometimes you may wish to
have a list populated with "0"s, sometimes not. The significant thing is
that the array, even if empty, is defined and, hence, exists.

--
Neredbojias
Infinity can have limits.

[Back to original 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

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