|
This is a collection of GuiXT programming style tips. Generally speaking, good programming tradition (see e.g. Brian Kernighan’s Programming Style Tips) applies to the writing of GuiXT Scripts and InputScripts as well. GuiXT is not meant to be a full programming language with all its capabilities and its complexity. Nonetheless, since GuiXT scripts and InputScripts deal with complex user interfaces (the SAP transactions) it is a good idea to avoid sloppiness with the scripts. It’s not just a question of aesthetics! Completely unreadable code might work very well at first, but later on down the line it will boomerang back, producing much more sweat than you saved initially.
The following recommendations reflect our personal style. Please feel free to send us your own opinions and additional hints. We will incorporate them into this collection if appropriate.