A modern approach
The best approach is one where you convert common code into
subroutines and functions, depending on the desired goals,
and you use common code libraries that are held in separate
memory buffers.
This type of code is easy to follow, less prone to mistakes
(since variables can be isolated and seen only in local scope)
and self documenting. |