Re: TIB: "Programmer friendly"


[Prev][Next][Index][Thread]

Re: TIB: "Programmer friendly"




Tavis Segura wrote:
[...]

> "Programer friendly" displays are very useful, especially when you are
> working with subroutines and a lot of multi-lined statements.  However,
> indenting can get in the way as well.  Keep in mind how many letters the
> calculator screen can show in one line.

I never had a problem with that...Are you using a TI-92 (I am)?

> Indenting everything will make
> it harder to read commands from the calculator than it would be if
> nothing were indented.  Even then, it is still better to have some parts
> indented while editing.

Absolutely.

> I suggest keeping two copies of the program you are working on.  Edit
> the first one, using indentation, easily understood names, and
> subprograms.  Make the other one the optimized copy, balancing speed and
> size over readability after you know that your program and its parts
> work, and updating it only after finishing the first.  Make it more like
> manually 'compiling' your program, for lack of a better term.

This only works if you have a link to your computer, or if you delete
the original (easy-to-read) program. I don't have a link (nor a PC), and
I often decide to change a program later on, thus needing the easy
version.

-- 
          Rene Kragh Pedersen
------------------------------------------------------------------
man: Why did you get a divorce?
man:: Too many arguments.


References: