non-portable code
nounUK /nɒn ˈpɔːtəbl kəʊd/
US /nɑːn ˈpɔːrtəbl koʊd/
Code that only works on one kind of computer and cannot easily be used on another.
The game failed to run on her laptop because it was written as non-portable code.
OTHER MEANINGS
2. Software written with features tied to a particular operating system or hardware.
The team had to rewrite the non-portable code before releasing it for other devices.
3. A program that must be changed before it can run in a different environment.
Reviewers flagged the non-portable code during the code audit.
4. Instructions that rely on local file paths or settings instead of standard ones.
Hard-coded folder names made the script non-portable code.