Article View: pl.comp.objects
Article #15178Re: Wyj?tki w konstruktorze
From: Seweryn Habdank-Wojewódzki
Date: Sun, 03 Sep 2006 12:08
Date: Sun, 03 Sep 2006 12:08
42 lines
2274 bytes
2274 bytes
Witam
Adam Karpierz wrote:
> "Sektor van Skijlen" <ethouris@guess.if.gmail.com.is.valid.or.invalid>
> wrote:
>
>>> Wole normalnie jak w Algolu czy Simuli
>>
>>> if baaaaaaaaaaaaardzo dluuuuuuuuuuuugi waruneeeeeeeeeeeeeeeeeeeeeeek
>>> then
>>> begin
>>> cos tam1
>>> cos tam2
>>> end
>>
>> Taaa... to to już jest szczyt czytelności.
>
> Dokladnie !.
> Wlasnie ta konstrukcja jest najczytelneijsza a wszystkich jakie spotkalem
> w j.programowania.
>
> Uzywalem jej tak:
>
> if baaaaaaaaaaaaardzo dluuuuuuuuuuuugi waruneeeeeeeeeeeeeeeeeeeeeeek then
> begin
> cos tam1
> cos tam2
> end
W czasopiĹmie Overload ostatnio napisany zostaĹ piÄkny artykuĹ dla ludzi,
ktĂłrym zaleĹźy na tego typu wyglÄ
dzie:
#define begin {
#define end }
#define then
i caĹa masa róşnych #define aby pisaÄ w C jak w Pascalu czy innych jÄzykach.
kĹopt pozostaje Ĺźe po if trzeba pisaÄ nawiasy :-).
Pozdrawiam.
Technical Details
Message-ID:
<edegin$qod$1@tkdami.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!news.tkdami.net!news.tkdami.pl!not-for-mailReferences:
<1156145142.606030.39100@m73g2000cwd.googlegroups.com> <a1l0f215rtj4kj6o35sora0fd2bl0qn0k9@4ax.com> <87lkpbs6yq.fsf@hector.domek> <ecs10b$795$1@srv.cyf-kr.edu.pl> <i0b3f25nvj9fr6ats7kjvntr20g3gsruiu@4ax.com> <ecsal7$vje$2@tkdami.pl> <lic3f2thihtcitu6eavf9p8q485e6n4aeg@4ax.com> <8764gcbrii.fsf@hector.domek> <ecvg12$qbi$1@inews.gazeta.pl> <87fyfgaazn.fsf@hector.domek> <ed140v$q3n$1@inews.gazeta.pl> <ed1e32$eq6$6@kujawiak.man.lodz.pl> <ed1gae$ofk$1@inews.gazeta.pl> <ed1k57$2f1$3@kujawiak.man.lodz.pl> <ed1l90$gqg$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!news.tkdami.net!news.tkdami.pl!not-for-mail From: Seweryn Habdank-Wojewódzki <habdank@gmail.com> Newsgroups: pl.comp.objects Subject: Re: Wyj?tki w konstruktorze Date: Sun, 03 Sep 2006 14:08:13 +0200 Organization: VectraNet Oswiecim Lines: 43 Message-ID: <edegin$qod$1@tkdami.pl> References: <1156145142.606030.39100@m73g2000cwd.googlegroups.com> <a1l0f215rtj4kj6o35sora0fd2bl0qn0k9@4ax.com> <87lkpbs6yq.fsf@hector.domek> <ecs10b$795$1@srv.cyf-kr.edu.pl> <i0b3f25nvj9fr6ats7kjvntr20g3gsruiu@4ax.com> <ecsal7$vje$2@tkdami.pl> <lic3f2thihtcitu6eavf9p8q485e6n4aeg@4ax.com> <8764gcbrii.fsf@hector.domek> <ecvg12$qbi$1@inews.gazeta.pl> <87fyfgaazn.fsf@hector.domek> <ed140v$q3n$1@inews.gazeta.pl> <ed1e32$eq6$6@kujawiak.man.lodz.pl> <ed1gae$ofk$1@inews.gazeta.pl> <ed1k57$2f1$3@kujawiak.man.lodz.pl> <ed1l90$gqg$1@inews.gazeta.pl> NNTP-Posting-Host: 82.139.21.12 Mime-Version: 1.0 X-Trace: tkdami.pl 1157285271 27405 82.139.21.12 (3 Sep 2006 12:07:51 GMT) X-Complaints-To: usenet@news.tkdami.pl NNTP-Posting-Date: Sun, 3 Sep 2006 12:07:51 +0000 (UTC) User-Agent: KNode/0.10.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit