Two questions about trev
Jerry Daniels
jerry.daniels at me.com
Mon Sep 14 13:09:14 EDT 2009
I found that by increasing the indent size (in GLX2 or tRev) it was a
lot easier to spot the ends of conditionals. Also, I follow my own
coding standards and never use the single line IF statement, so that
makes it easier to spot them.
We also have a feature in GLX2 that forces IF, THEN, END to upper
case. That can help, also.
Best,
Jerry Daniels
Watch tRev - The Movie
http://reveditor.com/trev-the-movie
On Sep 14, 2009, at 11:52 AM, Mark Wieder wrote:
> Richard-
>
> Monday, September 14, 2009, 8:43:19 AM, you wrote:
>
>> If a handler is so long that folding would seem useful, sometimes
>> that
>> can be an indication that it might be useful to consider breaking it
>> into subroutines.
>
> True, and I'm constantly refactoring to keep things simple and
> maintainable. But every once in a while I end up looking at someone
> else's code, and it gets hard sometimes to find the end of those dang
> conditional statements...
>
> --
> -Mark Wieder
> mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list