Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 03 Feb 2013 15:21:24 -0600 From: Leif Roar Moldskred Subject: Re: refactoring problem Newsgroups: comp.lang.java.programmer References: <7fssg8dakvofmv6pk3sfvp5jmaku55vgmm@4ax.com> User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (Linux/3.0.0-30-generic-pae (i686)) Message-ID: <_s6dnfv1XqRJSZPMnZ2dnUVZ7o2dnZ2d@giganews.com> Date: Sun, 03 Feb 2013 15:21:24 -0600 Lines: 12 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-YJYTC0apetVjesGXYEQiF8e9WJFTHQ+KPIWmUj4VnCC147xr+U+JW6g+mE815FI+zmbezIkH3PnT48b!0FcI+WIwZERsgWzcheud7gyLz8LMxJfELDQdgd8hiiwJ8Gf0FWlDEkZ9oZt851DBhkTgb1IO9Yo= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1418 Xref: csiph.com comp.lang.java.programmer:22058 Arved Sandstrom wrote: > > What else would you have in mind? Well, I don't know what Roedy has in mind, but personally I think Ada solved this elegantly with out parameters: procedure statistics( Data : in Height_Array; Max_Height, Min_Height : out Integer; StdDev_Height : out Float ) -- Leif Roar Moldskred