S T R U C T O R I Z E R - User Guide
Use Cases > Design for External Refinement

Structorizer might also be used to start the design of an algorithm on a very abstract level in order to refine and accomplish the design in an external IDE for a specific programming language.

This approach ranges somewhere between the purist algorithm documentation and the Structorizer-internal top-down refinement (where most of the recursive refinement steps are done within Structorizer, possibly most of the way down to a working solution and only the final adaptation to a specific programming language being left for the target environment).

Actually this approach differs from the purist documentation chiefly in the export being an essential part of it, not only an option.

To facilitate the external refinement steps, a little twist is recommended in comparison to the purist documentation approach: All text placed into the diagram elements should be put into the comments fields from the very start. In order to do so, activate the "Switch text/comments?" mode. The advantage is that in this case verbally formulated conditions in Alternatives, Case elements, and loops etc. would not mix into the syntax on code export, either, but be separated as properly placed and marked comments instead.

The diagram, however, will look much the same as in the purist use case, though only while mode "Switch text/comments?" is active:

Diagram for refinement in switch text/comments mode

In the normal display mode, the elements would look empty:

Diagram for refinement in normal mode

In display mode "Comments plus texts?" you would see the contents in the smaller comment font:

Diagram for refinement in comments plus texts mode

Most important activities:

Recommended preferences:

If some elements contain executable code: