User loginNavigation |
Parameteric Polymorphism from a C++ Perspective (good or bad?)I consider myself an expert in imperative programming languages but I'm very green in the field of modern functional languages (I'd be better off alligator wrestling than writing monads, but I can still 'cadr' your 'cons'). Here is a quote from a well written post by Matt Helige ( http://lambda-the-ultimate.org/node/1455 ) which kept me up last night:
I didn't "see" what Matt was talking about until today. You have to realize that I think of C++ templates (and Java / C# generics) when I think about parameteric polymorphism. So I didn't understand where the restriction came from. What had confused me was that in C++ the compiler does allow type choices by overloading template functions. Whether or not this is a "good thing" is probably debateable, so I figure why not debate it. Why or why not is C++ style parameterization where By cdiggins at 2006-05-09 15:13 | LtU Forum | previous forum topic | next forum topic | other blogs | 12129 reads
|
Browse archivesActive forum topics |
Recent comments
5 days 12 hours ago
1 week 2 days ago
6 weeks 3 days ago
6 weeks 3 days ago
18 weeks 4 days ago
18 weeks 5 days ago
18 weeks 6 days ago
18 weeks 6 days ago
19 weeks 4 days ago
19 weeks 4 days ago