A code style question

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 20 20:58:59 EST 2015


On 1/20/2015 7:33 PM, Geoff Canyon wrote:
> I was more curious about the readability, because I thought I might be the
> odd one out here, and it seems I am. The nested if statements in the first
> one, and the duplicated
>
>      set the baseID of this stack to "this card"
>
> offend my eye.

There's two of us then. I tend toward combining as many statements as 
possible too. But if a handler gets too snarly to grasp quickly, I pull 
it back apart. Yours was pretty snarly. :)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list