This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: Generics?
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Based on this post by Dare Obsanjo, it looks like 'Generics' means one thing in C++, and something else in C# and Java:
Although Bruce didn't confirm whether the above limitation exist in the C# implementation of generics he is right that they have the same limitations as Java generics. The article An Introduction to C# Generics on MSDN describes the same limitations Bruce encountered with Java generics and shows how to work around them using constraints as Bruce discovered. If you read the problem statement described in the article on MSDN it seems the main goal of C# generics is to solve the casting problem in containers
Yet another case of developers being separated by terms used in variant fashions. Dare has a lot more than that paragraph; go read the whole thing