Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: OneWingedShark
Generics are a big deal in C# too. It's great. I can toss objects around, wrapped in, say, a generic List<> and do all sorts of manipulation. Handy.

One area of C# I would have liked to see them expand, that for some reason they just left stand, was Linq-2-SQL. It allowed for direct reflection against SQL, so I could be sure that strong typing was implicit in the Linq control surface to the DB. It also produced, for me, all the objects right off of the SQL reflection. Timesaving as heck!

Don't know why Linq kinda just stayed where it was. They spent more time on Presentation Foundation and Communication Foundation, when I feel the time would have been better-spent fleshing the Linq concept out more.

115 posted on 10/21/2013 6:53:31 PM PDT by Lazamataz (Early 2009 to 7/21/2013 - RIP my little girl Cathy. You were the best cat ever. You will be missed.)
[ Post Reply | Private Reply | To 106 | View Replies ]


To: Lazamataz
One area of C# I would have liked to see them expand, that for some reason they just left stand, was Linq-2-SQL. It allowed for direct reflection against SQL, so I could be sure that strong typing was implicit in the Linq control surface to the DB. It also produced, for me, all the objects right off of the SQL reflection. Timesaving as heck!

I haven't had much Linq/SQL experience. As I read it though it seemed pretty nice: especially the strong-typing on SQL. (Most of the C# maintenance stuff I do have their SQL in objects piped into the DB, then the results might be parsed/converted into integers or passed out as Strings… it works, for the most part, and the company doesn't want to refactor it.)

Generics are a big deal in C# too. It's great. I can toss objects around, wrapped in, say, a generic List<T> and do all sorts of manipulation. Handy.

True; I've used that myself once to refactor/greatly-simplify a "random-picker bound to a pool of values" (used Fisher-Yates to improve its runtime and make it repeatable/auditable) instead of the mess of repeated-random-picks that was originally there.

Generics are really great stuff; I found this paper on Ada 83's generic/package interaction that simply blew me away w/ its creative uses of generic's WRT packages.

116 posted on 10/21/2013 8:54:48 PM PDT by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 115 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson