🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #220348

Re: ? : co to robi?

#220348
From: Mateusz Papiernik
Date: Thu, 27 Aug 2009 15:55
17 lines
1822 bytes
Mariusz Chwalba pisze:
> Ale to jest lekka ściema, bo ?: oprócz tego że jest trójargumentowy, to
> jest przede wszystkim warunkowy. Na tej samej zasadzie co + jest binarny
> (dwuargumentowy), ale jednak zwykle się nazywa operatorem sumy :-)

No, to prawda :-) Operator warunkowy brzmiałby sensownie. Jednak w
większości publikacji spotykałem się z "trójargumentowym", tyle, ze
kompletnie nie znam przesłanek dlaczego właśnie tak. (Pomijając, że od
ternary - po angielsku również wydaje mi się, że można by go sensowniej
nazwać ;))


-- 
Mateusz Papiernik, Maticomp Webdesign
Projektowanie i realizacja witryn WWW
mati@maticomp.net, http://www.maticomp.net
"One man can make a difference" - Wilton Knight
Technical Details
Message-ID: <h76atj$72r$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <h75i6d$u9p$1@news.onet.pl> <h75jef$5e0$1@atlantis.news.neostrada.pl> <h75kcc$5q3$1@news.onet.pl> <op.uzbjqlm6a6rut4@koder> <h75srd$k8k$1@newsread.aster.pl> <h75uc9$1ie$1@atlantis.news.neostrada.pl> <op.uzboxqdna6rut4@koder>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: Mateusz Papiernik <mati@maticomp.net>
Newsgroups: pl.comp.lang.php
Subject: Re: ? : co to robi?
Date: Thu, 27 Aug 2009 17:55:53 +0200
Organization: TP - http://www.tp.pl/
Lines: 17
Message-ID: <h76atj$72r$1@nemesis.news.neostrada.pl>
References: <h75i6d$u9p$1@news.onet.pl> <h75jef$5e0$1@atlantis.news.neostrada.pl> <h75kcc$5q3$1@news.onet.pl> <op.uzbjqlm6a6rut4@koder> <h75srd$k8k$1@newsread.aster.pl> <h75uc9$1ie$1@atlantis.news.neostrada.pl> <op.uzboxqdna6rut4@koder>
NNTP-Posting-Host: aegw37.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1251389172 7259 79.186.178.37 (27 Aug 2009 16:06:12 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Thu, 27 Aug 2009 16:06:12 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <op.uzboxqdna6rut4@koder>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit