DEV Community

Discussion on: What language features/concepts do insiders of the language love and outsiders hate?

Collapse
 
jfrankcarr profile image
Frank Carr

In C#, I'd say it's using generics, delegates, lambda and LINQ. I think it throws some people off so they tend to fall back on the classic programming structures written by hand.

Casting even a wider net, I'm always amazed at how many developers seem to have a mental block when it comes to working with SQL, particularly stored procedures and such.

Collapse
 
ssommerit profile image
Shawn Sommer

I remember the first time another developer mentioned LINQ to me...he said it would change my life. I wouldn't go that far, but man...when I moved to writing Apex code it was frustrating not being able to pluck a single (or group)of objects from a list with a single query.

As far as stored procedures go...they confused the heck out of me the first time I encountered them. Then I decided to start tinkering with them in some throw away projects to understand them at least a bit better. I still struggle a bit with joins, but honestly, I really haven't needed to use them much thus far so I pretty much chalk it up to lack of real exposure.

Collapse
 
isaacdlyman profile image
Isaac Lyman

LINQ is so elegant. Every time I use it I feel great.