Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?UTF-8?Q?E=C2=AE!k_\\/!$$E=C2=AE?= Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Vulcan build 208 Date: Fri, 7 Oct 2011 14:46:03 +0200 Lines: 39 Message-ID: <9f8akbF608U1@mid.individual.net> References: <3bel87p186igbgsmhgl7huklffdtt5keav@4ax.com> <9ujq87ledb9elr4rqk0okbjdbcvuk482g8@4ax.com> <9f5p04Fj00U1@mid.individual.net> <9f673eFddrU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: individual.net bQGeXcuR7/5Kq3+lOlfdtwX1BQQqF+uo1ZYrf+WkvUpW5kGruj Cancel-Lock: sha1:0e3hb+itFPWh0NzCsxicJzP5u9g= In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 Xref: x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:2195 Massimo, I think you understood the basic idea. I turn my monitor 90 degrees to have more code in my methods Erik "Massimo Bighelli" schreef in bericht news:j6l4nu$8eh$2@speranza.aioe.org... Erik, I agree (generally) on that principles, and other there are, general, and specific to the language / compiler, all coming from the C and ASM era. But I really don't understand the first. If I have a big monitor and small fonts, can I write longer methods? :-) Massimo > - the number of rows of code in a method should not exceed the max. > visible on a screen. If there are more rows, split up. > - every method should have a begin-recover-end sequence inside ( > something that can be implemented very easy using UDC's ) > - every method should return a boolean, true if succeeded and false > otherwise. > - if you need another value, pass a parameter by reference. > > I have used this for many years and am very happy with this. > But unlike me, writing several new (smaller) app's each year, Dick has a > major large application, born in VO 1.0 and extended over the years. > Not an easy task to rewirte it with new coding principles. > > > Erik >