Atif Aziz

3.5K posts

Atif Aziz

Atif Aziz

@raboof

Beigetreten Eylül 2007
148 Folgt837 Follower
David Fowler
David Fowler@davidfowl·
Is there any project that schematizes command line help (like man pages) to make it possible to automate building strongly typed wrappers around them?
English
10
2
24
10.5K
Atif Aziz
Atif Aziz@raboof·
5/5 Finally, in case it wasn't already obvious, Finq turns any `Func<,>` into a reader functor, monad, etc. For more, see: github.com/atifaziz/Finq
English
0
0
0
96
Atif Aziz
Atif Aziz@raboof·
4/5 Finq can also give you fallible functions naturally by just using the `where` clause from LINQ:
Atif Aziz tweet media
English
1
0
0
121
Atif Aziz
Atif Aziz@raboof·
1/5 Here's a (peculiar) idea…writing & combining C# functions (`Func<,>`) entirely with LINQ, as if you didn't have `=>` in the language. Introducing Finq: github.com/atifaziz/Finq or F(unq) + (L)inq
Atif Aziz tweet media
English
1
0
1
197
Atif Aziz
Atif Aziz@raboof·
The fact that it fixes one crucial bug in (async) Merge that you're bound to encounter in simple use cases & yet no one reported it says a lot about how many people are using it. github.com/morelinq/MoreL… Okay, it was marked experimental so perhaps no one wants to go near it.
English
0
0
0
90
Rick Strahl
Rick Strahl@RickStrahl·
I've built one version of this interface using eventing - start a thread and notify on completion, and that works. Would also like to have another version that can be called from UI thread and just await async call.
English
5
0
2
892
Rick Strahl
Rick Strahl@RickStrahl·
Is it possible to create a new thread in C# and have it be awaited? My specific need is that need an STA thread to run the code I need to run so I can't use Task.Run() which will end up on random threads (or perhaps the Ui thread).
English
8
0
4
6.4K
David White (MSFT)
David White (MSFT)@dwhiteindetroit·
@OnurGumusDev I was part of the larger team on this one. They were all C# devs that had to work on a Rust project and simply wrote down their learnings to ease the next group of people who had to walk that path. No larger conspiracy or messaging than that :-)
English
2
1
44
1.9K
Atif Aziz
Atif Aziz@raboof·
@CsAdvent “…great demo, thanks for taking the time to put it together…some of the more esoteric MoreLINQ operators (had never really considered…, but seeing how they're used here makes me realise they fit some scenarios I've seen before)…” & this made my day. #gistcomment-4811260" target="_blank" rel="nofollow noopener">gist.github.com/atifaziz/8368a…
English
0
0
0
5
Atif Aziz
Atif Aziz@raboof·
@KarenPayneMVP @marcgravell And yet you get this often #discussion_r1397705842" target="_blank" rel="nofollow noopener">github.com/morelinq/MoreL… perhaps because the .NET team sweats over this stuff & talks about all the ways they got the perf improvements, everyone feels now they need to sweat it to too.
English
0
0
0
45
Karen Payne MVP
Karen Payne MVP@KarenPayneMVP·
@marcgravell Agree Marc, one message I was hoping readers get from this is that copy-n-paste for this needs to be understood before using and yes in niche scenarios as you indicated that most will never need but good to have in one's toolbox if the need ever arrives.
English
2
0
3
639
Karen Payne MVP
Karen Payne MVP@KarenPayneMVP·
Something I learned over the years coding is that sometimes fine tuning is not always worth getting down into the minutiae. For instance, updating values in a dictionary using code presented below which is worth the effort if performance is critical with a large dictionary yet for a small dictionary can make maintaining code troublesome for less experience team members or even the person that coded it, especially if they copied and pasted the code from the web and didn’t assert with IsNullRef.
Karen Payne MVP tweet media
English
8
4
41
12.4K
Atif Aziz
Atif Aziz@raboof·
Published MoreLINQ 4.1, a minor maintenance release, that primarily adds "Duplicates" and improves usability with .NET 8. github.com/morelinq/MoreL…
English
0
0
0
148
Atif Aziz
Atif Aziz@raboof·
@SimonCropp Ouch. Though the assumption is fair unless it causes side-effects and if it does, then it should be an IEnumerator. Alas, not enough folks take care to make the distinction.
English
1
0
1
503
Atif Aziz
Atif Aziz@raboof·
@k_cieslak There's “Rust for C#/.NET Developers” microsoft.github.io/rust-for-dotne… Would be neat to have F# added to the mix, though some commentary is not completely missing either: #nullability-and-optionality" target="_blank" rel="nofollow noopener">microsoft.github.io/rust-for-dotne…
English
0
4
11
738
Atif Aziz
Atif Aziz@raboof·
MoreLINQ 4.0 is out: github.com/morelinq/MoreL… Adds pooling Batch & retires methods that are now part of .NET proper. 💯 Over 100 extensions to LINQ to Objects! 📈 50+ million downloads. 🍻 45 contributors ⚒️ Maintained over a decade (since 2009)
English
0
0
4
219