throwawaycode
nounUK /ˈθrəʊəweɪ kəʊd/
US /ˈθroʊəweɪ koʊd/
Code you write fast just to get something done, not to keep.
He wrote throwawaycode to test the idea and deleted it the next day.
OTHER MEANINGS
2. Code meant to be deleted after a one-time task.
The migration script was throwawaycode, so nobody bothered to clean it up.
3. Temporary code written to explore a problem before building the real thing.
She used throwawaycode to see if the API could handle the load.
4. Code that is poorly structured because it was never meant to last.
Reviewers flagged the throwawaycode before it reached production.