🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153961

Re: Zagadnienie polimorfizmu?

#153961
From: darekm
Date: Mon, 30 Dec 2013 12:07
27 lines
2210 bytes
On 2013-12-28 04:10, A.L. wrote:

>
> Bardzo nieczestor to robie, ale tyym razem zrobie. Polecam Wikipedie
>
> http://en.wikipedia.org/wiki/Command_pattern
>
> g\tam pozrednei zaimplemenorano wzorzec Command
>

Jeżeli poprawnie Cię rozumiem to identyfikatory klas winny być 
rzeczownikami a nie czasownikami , czyli  FlipUpCommand a nie samo 
FlipUp, analogicznie KomendaZrobCosTam vs ZrobCosTam.

I to *zawsze* ma być czytelniej, bardziej jednoznacznie? A może ma inną 
wartość?



> Prosze o wskazanie gdzie tam jest klasa ZrobCosTam
>

proszę bardzo:
public class PressSwitch {


Darek
Technical Details
Message-ID: <52c161e9$0$2353$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <e8a6173d-2e5d-4055-9877-1bc8fa939deb@googlegroups.com> <52b0147c$0$2160$65785112@news.neostrada.pl> <cpk1b9has1626fb6ifm3pjnt5ghj9esgno@4ax.com> <op.w8knga0te4bapi@blackstar> <pg6nb9t5bcgct766hjfp85c9jjqg3096oa@4ax.com> <almarsoft.8571317873761503081@news.plus.net> <6mfsb91nae01ptjj413nrj3naf8gpgh8l3@4ax.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Mon, 30 Dec 2013 13:07:04 +0100
From: darekm <darekm@emadar.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
Newsgroups: pl.comp.lang.java
Subject: Re: Zagadnienie polimorfizmu?
References: <e8a6173d-2e5d-4055-9877-1bc8fa939deb@googlegroups.com> <52b0147c$0$2160$65785112@news.neostrada.pl> <cpk1b9has1626fb6ifm3pjnt5ghj9esgno@4ax.com> <op.w8knga0te4bapi@blackstar> <pg6nb9t5bcgct766hjfp85c9jjqg3096oa@4ax.com> <almarsoft.8571317873761503081@news.plus.net> <6mfsb91nae01ptjj413nrj3naf8gpgh8l3@4ax.com>
In-Reply-To: <6mfsb91nae01ptjj413nrj3naf8gpgh8l3@4ax.com>
X-Antivirus: avast! (VPS 131230-0, 2013-12-30), Outbound message
X-Antivirus-Status: Clean
Lines: 27
Message-ID: <52c161e9$0$2353$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 79.187.5.190
X-Trace: 1388405225 unt-rea-a-01.news.neostrada.pl 2353 79.187.5.190:54785
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1875
X-Received-Body-CRC: 1099689000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit