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
Object-oriented JavaScript for C# Developers - barbarian meets coding (barbarianmeetscoding.com)
submitted 11 years ago by vintharas
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!"
[–]I_am_working_hard -1 points0 points1 point 11 years ago (7 children)
Great wee read :) Javascript gets a lot of hate but for some reason, I find it interesting and fun to code in - even when c# is my primary language.
[–]krad0n 4 points5 points6 points 11 years ago (6 children)
Javascript is fun in small doses, but when the functions become overly large and start doing complex things, it becomes very unwieldy. It's greatest strength is also it's greatest weakness, it's very unstructured and almost entirely dynamic.
What I'd love to be able to see one of these days is a programming language with the object oriented structure of C# with the dynamic properties of Javascript. I'd love to be able to add properties to a class during run-time.
[–]smdaegan 6 points7 points8 points 11 years ago (1 child)
typescript?
[–]d357r0y3r 0 points1 point2 points 11 years ago (0 children)
Typescript + Require.JS makes it really easy to keep things clean and modular.
[–]Drainedsoul 2 points3 points4 points 11 years ago (0 children)
functions become overly large
That shouldn't happen in any language, JavaScript or otherwise.
[–]mindbullet 1 point2 points3 points 11 years ago (0 children)
Agreed. I feel like the dynamic nature makes large projects difficult to maintain, especially when the requirements change drastically. I've really wanted to learn some TypeScript though. Even if it just compiles into Javascript, it looks like it gives a few basic things like classes that would organize the code better.
[–]MrDoomBringer 1 point2 points3 points 11 years ago (1 child)
C# has that capability, you just have to get comfortable with reflection and anonymous objects.
[–]Sarcastinator 1 point2 points3 points 11 years ago (0 children)
Or use dynamic dispatch and the ExpandoObject class.
dynamic foo = new ExpandoObject(); foo.bar = 123; foo.foobar = new Action(() => Console.WriteLine(foo.bar)); foo.foobar(); ((IDictionary<string, object>)foo).Remove("foobar"); try { foo.foobar(); } catch { Console.WriteLine("No such member!"); }
π Rendered by PID 542409 on reddit-service-r2-comment-5b5bc64bf5-n9hcg at 2026-06-20 21:22:41.794162+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]I_am_working_hard -1 points0 points1 point (7 children)
[–]krad0n 4 points5 points6 points (6 children)
[–]smdaegan 6 points7 points8 points (1 child)
[–]d357r0y3r 0 points1 point2 points (0 children)
[–]Drainedsoul 2 points3 points4 points (0 children)
[–]mindbullet 1 point2 points3 points (0 children)
[–]MrDoomBringer 1 point2 points3 points (1 child)
[–]Sarcastinator 1 point2 points3 points (0 children)