Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command window reappears for .NET
Message
From
01/08/2012 18:51:46
 
 
To
01/08/2012 11:29:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01549627
Message ID:
01549756
Views:
62
>>What did you find weird about it?
>>
>>
>>>I have to admit that after doing C# apps for several years, I've come to abhor LINQ and I never, ever use it.
>>>I tried, folks, I really tried, but I just hate that obfuscated syntax!
>>>It's just not the way I think about things, it appears, because it looks weird when I see it. In fact, it's so weird that it's almost painful for me to read when I have to try to decipher someone else's code.
>>>Since I've been able to accomplish everything I've wanted to do without it, I don't seem to have missed much.
>
>Craig
>
>
>var Found = from o in Orders
>            where o.CustomerID == 84 && o.Cost > 100
>            select new {
>                       o.OrderID,
>                       o.Cost,
>                       CostWithTax = o.Cost * 1.1
>                   };
>
>There is nothing in this code that is not weird to me.
>Then having to go thru hoops to look at results is even more weird.
>It's much easier for me to pretend it isn't there.

I don't think it really gets into the twilight zone until you start throwing in seroius Lambda expressions. When i was noodling around in EF and started doing a lot of Linq to Entities one day I found all that making sense and I became very afraid. Have been away from it a while now and when I go back to it it is like remembering the world on LSD , the weird parts.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform