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


Groups > comp.lang.java.help > #627

Re: Is it sign of bad Object Oriented programming?

Newsgroups comp.lang.java.help
Subject Re: Is it sign of bad Object Oriented programming?
References <87wriklitz.fsf@merciadriluca-station.MERCIADRILUCA> <call-20110424002811@ram.dialup.fu-berlin.de>
From Merciadri Luca <Luca.Merciadri@student.ulg.ac.be>
Organization ULg
Date 2011-04-24 00:57 +0200
Message-ID <87bozwfudr.fsf@merciadriluca-station.MERCIADRILUCA> (permalink)

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ram@zedat.fu-berlin.de (Stefan Ram) writes:

> Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> did not write:
>>Are there some cases where typing e.g.
>>myObj.myMeth(myObj)
>>is not considered as `bad style?'
>
>   Why should it be »bad style« at all?

I had Lew's ideas in mind so that it appeared to me as nonstandard.
>
>>That is, are there, more generally, some situations where
>>passing an instanciated object to a method of this object is
>>a good way of achieving something?
>
>   Yes, for example, to print »java.lang.System.out«,
>
> java.lang.System.out.println( java.lang.System.out );

But with this example, I'm okay. Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

If you fake it, you can't make it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAk2zWXAACgkQM0LLzLt8MhzKiwCeJxlVOx3ivy6cVCpNnx50lLyV
h1IAoIwxDEwIf70nBePRoqcRT+6y8jXq
=TUts
-----END PGP SIGNATURE-----

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Is it sign of bad Object Oriented programming? Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> - 2011-04-24 00:10 +0200
  Re: Is it sign of bad Object Oriented programming? Lew <noone@lewscanon.com> - 2011-04-23 18:31 -0400
    Re: Is it sign of bad Object Oriented programming? Lew <noone@lewscanon.com> - 2011-04-23 18:32 -0400
  Re: Is it sign of bad Object Oriented programming? Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> - 2011-04-24 00:57 +0200
  Re: Is it sign of bad Object Oriented programming? Roedy Green <see_website@mindprod.com.invalid> - 2011-04-24 06:55 -0700
  Re: Is it sign of bad Object Oriented programming? Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-04-24 12:01 -0400
    Re: Is it sign of bad Object Oriented programming? Lew <noone@lewscanon.com> - 2011-04-24 15:21 -0400
      Re: Is it sign of bad Object Oriented programming? Patricia Shanahan <pats@acm.org> - 2011-04-24 12:54 -0700
        Re: Is it sign of bad Object Oriented programming? Lew <noone@lewscanon.com> - 2011-04-24 17:26 -0400
          Re: Is it sign of bad Object Oriented programming? Patricia Shanahan <pats@acm.org> - 2011-04-24 14:42 -0700
            Re: Is it sign of bad Object Oriented programming? Lew <noone@lewscanon.com> - 2011-04-24 21:06 -0400

csiph-web