Click here to Skip to main content
15,919,479 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Unpopular opinions: LINQ Pin
afigegoznaet9-Feb-21 1:21
professionalafigegoznaet9-Feb-21 1:21 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 1:37
mvahoney the codewitch9-Feb-21 1:37 
GeneralRe: Unpopular opinions: LINQ Pin
afigegoznaet9-Feb-21 1:43
professionalafigegoznaet9-Feb-21 1:43 
GeneralRe: Unpopular opinions: LINQ Pin
harold aptroot8-Feb-21 8:41
harold aptroot8-Feb-21 8:41 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 9:15
mvahoney the codewitch8-Feb-21 9:15 
GeneralRe: Unpopular opinions: LINQ Pin
Gerry Schmitz8-Feb-21 9:39
mveGerry Schmitz8-Feb-21 9:39 
GeneralRe: Unpopular opinions: LINQ Pin
Sander Rossel8-Feb-21 9:42
professionalSander Rossel8-Feb-21 9:42 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 9:49
mvahoney the codewitch8-Feb-21 9:49 
Great. Now try using it to generate a LALR(1) table or for that matter, even compute FIRST and FOLLOWS sets.

You'll see my issue with LINQ really quickly. Especially if you benchmark it.

I guess it all depends on what kind of code you're writing. These days I don't do a lot of bizdev, and I haven't touched a real database in years.

Adding, I don't think you're considering all the extra overhead of LINQ not actually combining all the operations that can be combined into a single iteration eg: iterating twice where once would do.

It just isn't smart enough. It's also problematic (and this isn't specific to LINQ but more of a general problem with functional programming) to do certain kinds of queries because some queries can be orders of magnitude faster if you're allowed to keep some state around. There's just no facility for that in LINQ. I don't blame LINQ for that, since it's more of a functional programming paradigm issue, but it still keeps me from being able to use it for a lot of what I would like to use functional programming constructs for.
Real programmers use butterflies

GeneralRe: Unpopular opinions: LINQ Pin
Sander Rossel8-Feb-21 10:21
professionalSander Rossel8-Feb-21 10:21 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 13:13
mvahoney the codewitch8-Feb-21 13:13 
GeneralRe: Unpopular opinions: LINQ Pin
Sander Rossel8-Feb-21 22:21
professionalSander Rossel8-Feb-21 22:21 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 1:00
mvahoney the codewitch9-Feb-21 1:00 
GeneralRe: Unpopular opinions: LINQ Pin
Sander Rossel9-Feb-21 2:08
professionalSander Rossel9-Feb-21 2:08 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 2:14
mvahoney the codewitch9-Feb-21 2:14 
GeneralRe: Unpopular opinions: LINQ Pin
Sander Rossel10-Feb-21 0:08
professionalSander Rossel10-Feb-21 0:08 
GeneralRe: Unpopular opinions: LINQ Pin
r_hyde8-Feb-21 12:24
r_hyde8-Feb-21 12:24 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 14:27
mvahoney the codewitch8-Feb-21 14:27 
GeneralRe: Unpopular opinions: LINQ Pin
Super Lloyd8-Feb-21 13:32
Super Lloyd8-Feb-21 13:32 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 14:21
mvahoney the codewitch8-Feb-21 14:21 
GeneralRe: Unpopular opinions: LINQ Pin
Super Lloyd8-Feb-21 14:31
Super Lloyd8-Feb-21 14:31 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch8-Feb-21 14:41
mvahoney the codewitch8-Feb-21 14:41 
GeneralRe: Unpopular opinions: LINQ Pin
Kiriander8-Feb-21 20:26
Kiriander8-Feb-21 20:26 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 1:06
mvahoney the codewitch9-Feb-21 1:06 
GeneralRe: Unpopular opinions: LINQ Pin
Kiriander23-Feb-21 22:52
Kiriander23-Feb-21 22:52 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch24-Feb-21 2:00
mvahoney the codewitch24-Feb-21 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.