What is generic subprogram in principles of programming languages?
Answers
Answered by
1
Generic programming is a style of computer programming in which algorithms are written in terms of types to-be-specified-later that are then instantiated when needed for specific types provided as parameters. This approach, pioneered by ML in 1973, permits writing common functions or types that differ only in the set of types on which they operate when used, thus reducing duplication. Such software entities are known as generics in Python, Ada, C#, Delphi, Eiffel, F#, Java, Rust, Swift,and TypeScript
Similar questions
English,
6 months ago
Social Sciences,
6 months ago
Computer Science,
6 months ago
Computer Science,
1 year ago
Science,
1 year ago
Science,
1 year ago