template programming

[/ˈtɛmplət ˈproʊɡræmɪŋ/]
noun
programação com modelos
1. A programming technique in which generic code is written using templates to work with different data types, allowing for code reuse and type safety at compile time
Template programming in C++ allows developers to write generic algorithms that work with any data type.
A programação com modelos em C++ permite que desenvolvedores escrevam algoritmos genéricos que funcionam com qualquer tipo de dados.
2. The use of templates as a language feature to enable polymorphism and abstraction without runtime overhead
Template programming is a powerful feature for creating reusable and efficient libraries.
A programação com modelos é uma característica poderosa para criar bibliotecas reutilizáveis e eficientes.
This is a technical term primarily used in software development communities. In Brazil and Portugal, developers often use the English term 'template programming' directly even when speaking Portuguese, as it is the standard terminology in programming documentation and academic circles. The Portuguese translation 'programação com modelos' is more formal and used in educational or official documentation.
Synonyms / Sinônimos
generic programmingparametric polymorphismgeneric code generation
Antonyms / Antônimos
runtime polymorphismdynamic typing

Regional Variations

General Brazilian
programação com modelos
Standard term used in Brazilian software development contexts
Portugal
programação com templates
Often used with the English term 'templates' untranslated in Portugal
International Tech
template programming
Commonly used in English even in Portuguese-speaking contexts due to technical documentation

Related Words

C++ templatesgenericsmetaprogrammingtype safetycompile-time polymorphism

Related Idioms & Phrases

generic code generation
compile-time instantiation
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →