ad-hoc code
[/ˌæd ˈhɑːk koʊd/]
nounpl: ad-hoc codes
código ad hoc
1. Programming code written for a specific, immediate problem or purpose without following formal design patterns, best practices, or long-term maintainability considerations
The developer wrote ad-hoc code to quickly fix the bug before the deadline.
O desenvolvedor escreveu código ad hoc para corrigir rapidamente o bug antes do prazo.
2. Temporary or makeshift code solutions that are typically not reusable and may not be well-documented or tested
We used ad-hoc code to patch the system while we worked on a proper solution.
Usamos código ad hoc para corrigir o sistema enquanto trabalhávamos em uma solução adequada.
In Brazilian tech culture, ad-hoc code is often referred to colloquially as 'gambiarra' (a clever but improvised fix), reflecting a pragmatic approach to problem-solving. This term is commonly used in sprint meetings and code reviews to discuss temporary solutions that need refactoring later. In the US tech industry, it's typically discussed in the context of 'technical debt' management.
NYC Slang
quick-and-dirty code
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →