Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Generic programming?

Definition 4.3 University Computer Science — Year 2 · Capítulo 4 — Templates and Generic Programming

Generic programming writes algorithms and data structures once, in terms of the operations they need from their element types (copy, compare, add), so that they apply to every type providing those operations, with no loss of type checking or of speed against a version written for one type.

Ler no capítulo →