Re: swap method in Java

From: Jezuch (jezuch_at_interia.pl)
Date: 06/23/04


Date: Wed, 23 Jun 2004 00:53:13 +0200

Użytkownik Roedy Green napisał:
> Me too. Keeping track of just how many levels of indirection, and the
> multiple ways to generate the same assembler code wasted so much time
> in writing C++. In Java you just have . and it always works without
> fuss. The increased maintainability and legibility was easily worth
> the loss of flexibility.

Yeah, I got burned by the "one level of indirection too far" effect recently
while coding a C++ program for my university class... I thought it was a bug
somewhere in STL but my colleague, a C++ fanatic, showed me my mistake.
Ohhhhhhhh, baaaaad Java habits! ;)

-- 
Ecce Jezuch
"I went in killing the sun
I once one" - T. Meeks


Relevant Pages

  • Re: Taking a single large .cs file and making many smaller .cs fil
    ... If this were true why have any indirection at all, ... Oriented even if written in an OO language, functionality and code is ... "Adding a layer of indirection always creates more ... if there are multiple files then it's harder to keep ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: swap method in Java
    ... Keeping track of just how many levels of indirection, ... > multiple ways to generate the same assembler code wasted so much time ... PGP Key available from your friendly local key server ...
    (comp.lang.java.programmer)