It's called factoring with subroutines, and Forth hasn't cornered the market on anything by calling them words.
The Tcl shell is really great for doing this. Since everything can be represented as a string-type, you're able to introspect your defined procedures and dump them to disk.
Whats up with mocking everyone you reply to on this thread?