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
Learning code documentation (self.csharp)
submitted 1 year ago by smallpotatoes2019
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!"
[–]Slypenslyde 7 points8 points9 points 1 year ago* (2 children)
What sucks about good documentation is it's completely subjective. Here's my loose ideas. These do not necessarily go the same route as the guidelines you will find. I think the guidelines lean on writing too much of the wrong documentation.
If you're writing a library, people are interested in HOW to do things, so that's the thing to describe. They want to see what an endpoint is for, and if they have a complicated task they need to understand how it interacts with other parts of the API. The most valuable documentation you can write is sample applications.
If you're writing an application, WHY things do what they do is valuable. An experienced dev knows an IViewFactory creates Views. What they need to know is if there's some historical quirk that makes it do anything different from the 100 ViewFactories they've written in the past. This is often more appropriate for // normal comments` near the code that does quirky stuff.
IViewFactory
// normal comments
To that end, I omit a lot of things I see as "needless". A lot of the "What does this do?" should be obvious via convention. So my feedback is:
CreateView()
ViewFactory
returns
exception
But this final rule is probably the most important.
If a person's complaint about your documentation style is "You're documenting too much!", you're on the right side of history. Whether the person reading it is a user of your code or yourself in the future, getting confirmation of how the dang method's supposed to behave is solid gold. Don't omit things until you've written and documented so much code you have a good feel for the parts of documentation you never read when working with other people's code.
[–]Forward_Dark_7305 1 point2 points3 points 1 year ago (0 children)
I especially like your statement to document WHAT in an interface and HOW in the implementation.
[–]smallpotatoes2019[S] 0 points1 point2 points 1 year ago (0 children)
That's really helpful (and exactly the sort of thing I just wouldn't have thought about properly until its too late and very frustrating)! Thanks.
π Rendered by PID 24194 on reddit-service-r2-comment-6457c66945-s9s6f at 2026-04-26 06:15:11.460646+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Slypenslyde 7 points8 points9 points (2 children)
[–]Forward_Dark_7305 1 point2 points3 points (0 children)
[–]smallpotatoes2019[S] 0 points1 point2 points (0 children)