| ▲ | CyberDildonics 15 hours ago | ||||||||||||||||||||||||||||||||||
a more fleshed out exemplar What's the difference between an exemplar and an example? between “OOP” and “sir, this is C”. That's more templates, ownership and operator overloading. Polymorphism is not a modern way to program because it introduces dependencies and enormous speed hits from pointer chasing, both of which are corrosive to a good program. | |||||||||||||||||||||||||||||||||||
| ▲ | cestith 11 hours ago | parent [-] | ||||||||||||||||||||||||||||||||||
An example is any random instance of something that illustrates a concept. You can load up a document with examples to demonstrate a range of possibilities. An exemplar is the chosen best way to model and explain a concept. So in a programming text for a new language, one would use examples of things that are strings, or examples of structures one might declare. You might even see examples of multiple ways to solve a problem in code. An exemplar though shows the one best - or at least most recommended - way to do something in the language. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||