You are here: Re: A List of One. « HTML « IT news, forums, messages
Re: A List of One.

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.

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация