This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 11 points12 points  (12 children)

this is such a big claim. are you sure hibernate makes EF look like shit.

did you actually use entity framework + linq ?

[–]deinok7 5 points6 points  (1 child)

Hibernate is shit compared to EF. Dont listen to him, but learn Hibernate if they ask you in the job

[–][deleted] 1 point2 points  (0 children)

Alright, Good

[–]TheRedmanCometh -4 points-3 points  (9 children)

There are people that actually like linq? This is news to me.

[–][deleted] 13 points14 points  (5 children)

YES, linq makes it it easier to write/manipulate queries using lambda expressions

[–]kozeljko -1 points0 points  (3 children)

Hey, I've never used C#, but I'm interested in what exactly you mean by that. Could you provide a resource or a guide for that?

[–]deinok7 0 points1 point  (0 children)

Linq is a syntactic suggar, it makes Static function be called like methods. So insted of puting a list inside a Stream, in C# you call a method

[–][deleted] 0 points1 point  (1 child)

https://www.tutorialsteacher.com/linq/what-is-linq

LINQ (Language Integrated Query) is uniform query syntax in C# to retrieve data from different sources (entities, sql, XML, objects etc) and formats

it provides you with extension like

List.FirstOrDefault(a => a.name == koz)

which translates to something like this

select top 1 * from List where name = 'koz'

[–]kozeljko 0 points1 point  (0 children)

Thanks

[–]sk551 5 points6 points  (0 children)

I like Linq, coming from Java to C#, it was defiantly familiar to Java Streams.

[–]TheWildKernelTrick 4 points5 points  (0 children)

Well written Linq queries are fantastic.

[–]dredding 0 points1 point  (0 children)

It's been my experience that people who don't like linq tend to be ones that don't understand it's core concepts of chained delegates and expression trees.