-
Notifications
You must be signed in to change notification settings - Fork 6.1k
First draft of LINQ Article #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/concepts/linq.rst
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add C# and VB examples to that wikipedia page? There is an F# sample there.
I know what you mean by "native", but perhaps we can use a less overloaded term. I think of the "native" approach as relying on language keywords.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, weren't higher-order functions already partially supported via delegates, and especially anonmyous delegates? Also, the above sentence reads like F# already had LINQ before C# and VB.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add C# and VB examples to that wikipedia page? There is an F# sample there.
Yep, will do.
Hm, weren't higher-order functions already partially supported via delegates, and especially anonmyous delegates?
Yes; Action and Func are examples of this (and they're used in the API). I'm calling it out because it's one of the two ways you write LINQ.
Also, the above sentence reads like F# already had LINQ before C# and VB.
Changing this to be its own sentence.
|
Updated to address comments @richlander and @blackdwarf made. |
|
Looks good. Thanks! Can you rebase and merge? |
|
@cartermp Sure you did that right? Try to squash that down to one commit. |
|
Yeah I'm fighting with |
Adjusting the primer to advertise LINQ and link to a more in-depth article. This article covers the essential things to know about LINQ, why LINQ is awesome, and provides numerous snippets of code to demonstrate its capabilities. Also briefly covers PLINQ.
|
Done! I lack write access to the repo. Should @richlander or @blackdwarf handle the final merge? |
|
Thanks @cartermp! |
First draft of LINQ Article
Addresses #28.
Still need to:
/cc @richlander @blackdwarf @terrajobst for review.