🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Dobre praktyki

#231909
From: Borys Pogoreło
Date: Tue, 30 Jan 2018 19:37
15 lines
1442 bytes
Dnia Mon, 29 Jan 2018 08:48:14 +0100, Roman Tyczka napisał(a):

>>> Zamiast tony if'ów stosuje się polimorfizm. Odkąd PHP jest obiektowe chyba
>>> to jest lepsza droga?
>> 
>> A gdzie masz w PHP polimorfizm?
> 
> Eeee.... czyli mnie nabrali, że PHP jest obiektowy?

Tego akurat z obiektowości nie zapożyczyli. Listę argumentów metody można
jedynie rozszerzać.

-- 
Borys Pogoreło
borys(#)leszno,edu,pl
Technical Details
Message-ID: <gq1f049hz4kl.1osauubm1hvzw$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
References: <2lhebv1xabri$.dlg@tyczka.com> <6d0bd754-9b46-46ce-98ff-c5265a9a93af@googlegroups.com> <chac9zcm8l6a.1gxug7ng6lbce$.dlg@40tude.net> <cd0f750f-2346-4016-bbbd-a72c386c561d@googlegroups.com> <1amogzakqq8as.dlg@tyczka.com> <195h47fguxny8$.6raw4vni79fs.dlg@40tude.net> <1uouyq58k949v$.dlg@tyczka.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.promontel.net.pl!not-for-mail
From: Borys Pogoreło <borys@pl.edu.leszno>
Newsgroups: pl.comp.lang.php
Subject: Re: Dobre praktyki
Date: Tue, 30 Jan 2018 20:37:22 +0100
Organization: snafu
Lines: 15
Message-ID: <gq1f049hz4kl.1osauubm1hvzw$.dlg@40tude.net>
References: <2lhebv1xabri$.dlg@tyczka.com> <6d0bd754-9b46-46ce-98ff-c5265a9a93af@googlegroups.com> <chac9zcm8l6a.1gxug7ng6lbce$.dlg@40tude.net> <cd0f750f-2346-4016-bbbd-a72c386c561d@googlegroups.com> <1amogzakqq8as.dlg@tyczka.com> <195h47fguxny8$.6raw4vni79fs.dlg@40tude.net> <1uouyq58k949v$.dlg@tyczka.com>
NNTP-Posting-Host: 37.47.138.202
Mime-Version: 1.0
X-Trace: thunar.promontel.net.pl 1517340954 2444 37.47.138.202 (30 Jan 2018 19:35:54 GMT)
X-Complaints-To: abuse@promontel.net.pl
NNTP-Posting-Date: Tue, 30 Jan 2018 19:35:54 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.14.1pl
X-fnord: obey.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit