🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #216651

Re: Co dolega programowaniu obiektowemu

#216651
From: Borneq
Date: Sun, 15 Dec 2019 19:06
16 lines
1891 bytes
W dniu 2019-12-15 o 19:36, M.M. pisze:
> On Sunday, December 15, 2019 at 4:03:24 PM UTC+1, Borneq wrote:
>> Yegor Bugayenko - What's Wrong with Object-Oriented Programming?
>> https://www.youtube.com/watch?v=GMrjuuczZkQ
>> EO, the Programming Language: https://github.com/yegor256/eo
> 
> Myślałem że programowanie obiektowe to sam lukier. Mogę poprosić o kilka
> zdań skrótu z sedna tych materiałów?

Dziedziczenie:
nie zawsze da się zrobić hierarchię, bo czasem podklasa zależy od dwóch 
nadklas, a gdy dopuścimy wielodziedziczenie to mamy problem diamentu - 
czasem nie wiadomo, których pól/metod użyć
null - trzeba pamiętać że każda obiekt może być albo obiektem albo 
wadliwą wartością null
metody statyczne - naruszają enkapsulację, działamy na polach z zewnątrz
Technical Details
Message-ID: <5df6841b$0$17343$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <5df64b3a$0$505$65785112@news.neostrada.pl> <877d99f1-349e-4996-9ded-db603d98b430@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Subject: Re: Co dolega programowaniu obiektowemu
Newsgroups: pl.comp.programming
References: <5df64b3a$0$505$65785112@news.neostrada.pl> <877d99f1-349e-4996-9ded-db603d98b430@googlegroups.com>
From: Borneq <borneq@antyspam.hidden.pl>
Date: Sun, 15 Dec 2019 20:06:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0
MIME-Version: 1.0
In-Reply-To: <877d99f1-349e-4996-9ded-db603d98b430@googlegroups.com>
Lines: 17
Message-ID: <5df6841b$0$17343$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 91.239.205.59
X-Trace: 1576436764 unt-rea-a-01.news.neostrada.pl 17343 91.239.205.59:54799
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit