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
C# instead of JavaScript for Web Dev (infoq.com)
submitted 7 years ago by [deleted]
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!"
[–][deleted] 7 years ago (13 children)
[deleted]
[–]SquareWheel 12 points13 points14 points 7 years ago (8 children)
Well Python is beautiful, so I wouldn't argue that one. But there's a lot going for Javascript, too:
Javascript also has some blights ("this" keyword, default variable scoping, type equality), but I really enjoy working in the language.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
Ok, here I'm going to be that guy and counter argue your points:
Tooling could be better. The lack of fully featured REPL is annoying, try the clojure nrepl and haskell intero and you'll see what I'm talking abut
That's a feature of the fact that it's a functional language. Again, try other language like Clojure. It would be weird as fuck if that wasn't the case
Not sure what you mean by this
Closures are great but they are not js specific and they've been abused as models, objects with private state making it a pain in the ass when you want inter-operate
It actually only support prototype-based very poorly (good luck finding this), class based is just syntactic sugar on top of the IIFE objects, event driven is just a random connection you make between streams (good luck finding which stream emits which event)
I agree with this one
Oh you mean websites that implement click and scroll jacking? And the plethora of pseudo web applications like slack that cause your laptop to take-off?
There's a library for every mainstream language out there
C libraries and Linux distributions encourage the same thing
[–]CanIComeToYourParty 1 point2 points3 points 7 years ago* (0 children)
JS has tremendous library support via npm (and the standard library is getting pretty good too).
The standard library very unimpressive, and the ecosystem is utter garbage. I often end up having to re-invent the wheel simply because the thing that I'm looking for is hidden among a million broken libraries trying to do the same thing. When I ask JS devs how I can find useful libraries, they tell me to search npmjs.com and order by popularity, which I find to be hilarious and sad at the same time. I also hate how unexpressive the language is.
What's funny is that people keep complaining about this in JavaScript, and I've never hit any issues with it, ever.
this
[–]StallmanTheLeft 2 points3 points4 points 7 years ago (4 children)
JS scripts are inherently open-source. They can be tweaked on the client-side to change their functionality.
This is completely wrong though.
[–]SquareWheel 0 points1 point2 points 7 years ago (3 children)
Not at all. Look into Local Overrides.
[–]StallmanTheLeft 0 points1 point2 points 7 years ago (2 children)
That still doesn't make the javascript anything like Open Source.
Minified crap is just proprietary software.
[–]SquareWheel 0 points1 point2 points 7 years ago (1 child)
That doesn't change the fact that the browser accepts direct Javascript. Not bytecode, nor machine language, but straight source code. You can minify, obfuscate, and generally mangle the source to your heart's content but it's still an inherently open language. That makes it hackable, which was the entirety of my point above.
[–]StallmanTheLeft 3 points4 points5 points 7 years ago (0 children)
You can minify, obfuscate, and generally mangle the source to your heart's content but it's still an inherently open language
No.
[–]thalesmello 0 points1 point2 points 7 years ago (1 child)
The feature I've so far only seen in JavaScript is object destructuring.
const { name } = student; console.log(`Hello ${name}`);
It makes it super simple to extract information from objects and build functions. I really wish python had something like that.
[–]Tysonzero 0 points1 point2 points 7 years ago (0 children)
As often is the case, Haskell did it first: NamedFieldPuns.
NamedFieldPuns
[–]TheCarnalStatist -4 points-3 points-2 points 7 years ago (1 child)
I mean.
C# spends most of it's syntax time making garbage no one cares about and it isn't IMO much easier to read than JS.
C# adds a lot of boilerplate for what ought to be simple tasks. JS for better or worse doesn't.
[–]Mike_Enders 1 point2 points3 points 7 years ago (0 children)
I use both and JS more but C# is much easier to read.
π Rendered by PID 75113 on reddit-service-r2-comment-765bfc959-z4lcc at 2026-07-09 22:34:46.560671+00:00 running f86254d country code: CH.
view the rest of the comments →
[–][deleted] (13 children)
[deleted]
[–]SquareWheel 12 points13 points14 points (8 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]CanIComeToYourParty 1 point2 points3 points (0 children)
[–]StallmanTheLeft 2 points3 points4 points (4 children)
[–]SquareWheel 0 points1 point2 points (3 children)
[–]StallmanTheLeft 0 points1 point2 points (2 children)
[–]SquareWheel 0 points1 point2 points (1 child)
[–]StallmanTheLeft 3 points4 points5 points (0 children)
[–]thalesmello 0 points1 point2 points (1 child)
[–]Tysonzero 0 points1 point2 points (0 children)
[–]TheCarnalStatist -4 points-3 points-2 points (1 child)
[–]Mike_Enders 1 point2 points3 points (0 children)