adhoccode
nounUK /ˌædˈhɒk kəʊd/
US /ˌædˈhɑːk koʊd/
Code that someone writes quickly to fix one problem, without planning it to be neat or reusable.
The team used adhoccode to patch the bug before the demo.
OTHER MEANINGS
2. A short script written on the spot to answer a one-time question.
She wrote some adhoccode to count the rows in the spreadsheet.
3. Programming done without a design or style guide, often just to make something work.
The prototype was pure adhoccode, but it proved the idea.
4. Temporary code that is meant to be replaced later.
Everyone knew the adhoccode would need a real rewrite soon.