|
From: | Bill Denney |
Subject: | Coding Style |
Date: | Mon, 20 Feb 2006 22:07:59 -0500 (EST) |
if (something) ... else error (message) endifMy general preference is to have code indented less, and I think that less indentation generally makes code more readable. I would code it as
if (~ something) error (message) endif ...So I have two questions: is there a document that describes current coding preferences in octave? Is the previous coding method preferred for some reason or was it just how the code came out?
Bill --
From Dumblaws.com: In Cambodia, water guns may not be used in New
Year's celebrations.
[Prev in Thread] | Current Thread | [Next in Thread] |