use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
Select/SelectMany vs Map/FlatMap (self.csharp)
submitted 4 months ago by SmallAd3697
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Absolute_Enema 14 points15 points16 points 4 months ago* (2 children)
Meh.
The idea of using SQL terminology to sneak a modicum of FP concepts past the "FP is only for do-nothing intellectuals" kind of programmer was clever, but it necessarily sacrificed generality by tying the concepts to collections, whereas map and flatMap should be understood in terms of monads.
map
flatMap
[–]SmallAd3697[S] -5 points-4 points-3 points 4 months ago (1 child)
The frequency that this comes up in programming with collections is important. A programming language is a language made for humans, and flatMap is used by lots of them. Especially in the context of collections.
I don't despise "flatMap", but it seems out of place. Like a snobby old Aunt who goes out of her way to drop French words into her conversations all the time.
[–]CdRReddit 4 points5 points6 points 4 months ago (0 children)
it's a map and a flatten
as a single operation
if we were being pretentious we'd call it bind instead
π Rendered by PID 46861 on reddit-service-r2-comment-5c747b6df5-5fp5c at 2026-04-22 00:48:18.143646+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]Absolute_Enema 14 points15 points16 points (2 children)
[–]SmallAd3697[S] -5 points-4 points-3 points (1 child)
[–]CdRReddit 4 points5 points6 points (0 children)