Intermediate MUF Tutorial - Portability Issues Go to the first , previous , next , last section, table of contents . Portability Issues Programming is difficult.
All programmers know the frustration of trying to get a program to work accordig to specification.
But one thing that really defines the professional programmer is the ability to write portable programs that will work on a variety of systems. Don't write code that depends on implementation-specific details subject to change. Try to find a design with a reasonably small number of exported symbols. If you need to export symbols unlikely to be used very often, give them long descriptive names less likely to clash with symbol names from other packages. Look for ways to deduce system-dependent information at installation time or on the fly, or else accept it as a parameter, rather than embedding such dependencies in your package code.