Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #4796

Re: Two object oriented methods, which is better?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.programming
Subject Re: Two object oriented methods, which is better?
Date Thu, 18 Sep 2014 21:08:21 +0200
Organization albasani.net
Lines 17
Message-ID <20140918210821.2442a52a@maxa-pc> (permalink)
References <lvf8uf$o09$2@speranza.aioe.org> <20140918204616.7a953d26@maxa-pc> <20140918115849.501@kylheku.com>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net f5HKXIbuGpIdP+CTLvmtPh4j0lpd+hLxosM31XXjS/YaX/GX0SOLlbaeK85ezpitb5L7I0zwqRybtduf3rpOxrXOe93UCW9IiIMYjmdcBn87wflLIvnfTTWHCMRIZAju
NNTP-Posting-Date Thu, 18 Sep 2014 19:08:21 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="2Ne4l4fKnnZVc78GYoghDHVVcYKWSowHB5yh9xe70EIH692WFtJTkHKRFmniXUkL5WaLnSk6w4TSvJPZftaXFlLHleLsbPADXAADbU2tM8+izN5R4BWQPZ1qTo+V+6sz"; mail-complaints-to="abuse@albasani.net"
X-Newsreader Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-unknown-linux-gnu)
Cancel-Lock sha1:IbPij7dm5rSSrDdzjP/0E7ddjoc=
Xref csiph.com comp.programming:4796

Show key headers only | View raw


On Thu, 18 Sep 2014 18:59:34 +0000 (UTC)
Kaz Kylheku <kaz@kylheku.com> wrote:

> On 2014-09-18, Melzzzzz <mel@zzzzz.com> wrote:
> > On Thu, 18 Sep 2014 21:40:19 +0300
> > Victor Porton <porton@narod.ru> wrote:
> >> What is more object oriented? Which is better?
> >
> > First can do whatever with array, while second shows clear
> > intent.
> > I'll go with second since it is clearer what function does.
> 
> It's probably also clear what modify_array does, if you have its
> definition.

Problem is that modify_array is "dynamic method", what I guess means
that one probably don;t know what it does ;)

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Two object oriented methods, which is better? Victor Porton <porton@narod.ru> - 2014-09-18 21:40 +0300
  Re: Two object oriented methods, which is better? Melzzzzz <mel@zzzzz.com> - 2014-09-18 20:46 +0200
    Re: Two object oriented methods, which is better? Kaz Kylheku <kaz@kylheku.com> - 2014-09-18 18:59 +0000
      Re: Two object oriented methods, which is better? Melzzzzz <mel@zzzzz.com> - 2014-09-18 21:08 +0200
        Re: Two object oriented methods, which is better? Kaz Kylheku <kaz@kylheku.com> - 2014-09-18 19:26 +0000
  Re: Two object oriented methods, which is better? Kaz Kylheku <kaz@kylheku.com> - 2014-09-18 19:24 +0000

csiph-web