@incomputable did a really fantastic talk relating to this. You've probably seen it but just in casehttps://www.youtube.com/watch?v=FJJTYQYB1JQ&feature=youtu.be …
-
-
-
I was at that talk. Very entertaining. But he wasn't describing Generic Programming. Here was not grouping type requirements into named concepts. He was customizing algorithms on an ad hoc and open set of properties. That also has value and can be used in tandem with GP.
- Još 1 odgovor
Novi razgovor -
-
-
... starting from a concrete (not generic) implementation.
- Kraj razgovora
Novi razgovor -
-
-
Perhaps expanding 'algorithms' to 'algorithms and containers' would be appropriate. At least for me, vector (for instance) evokes the same sense of distillation (for lack of a better word) of something fundamental as an algorithm like partition or rotate.
-
Containers are not really generic in the Stepanov sense, IMO. They are concrete data structures. Every vector stores it's elements the same way: contiguously. They are the concrete things over which the algorithms can operate generically.
Kraj razgovora
Novi razgovor -
-
-
This! Along with my favorite quote from Jeremy Siek: before finding a generic solution, first find a generic problem!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
It’s not even about C++.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
We all do generic programming indirectly, because our compilers translate our C++ code to some intermediate language that's parsed to the machine code of the target architecture
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
true, but in the end you only implement it using template. Just like OOP is not about class hierarchy but in the end it's implemented as it
-
You can use OOP without touching inheritance at all though....
- Još 5 drugih odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.