3 ms·
For all the shit I give C# (some of my complaints are getting better with everything becoming open source), it's still by far my favorite language. I picked it
by earlz 11y ago
For all the shit I give C# (some of my complaints are getting better with everything becoming open source), it's still by far my favorite language. I picked it up when Visual Studio 2008 was relatively new and coming from PHP and C++ (to ASP.Net/C#) was very eye opening and though I had a lot of learning problems because of webforms, the core C# language definitely has me captured.
C# is my "not quick one off" language. When I want a one-off, I use Ruby because it's quick and easy... but when I need more than 1 file and I'll be dealing with lots of classes and complications that come with that, give me C#.
I've tried getting to know Rust, but despite my love for it's core ideas and syntax I just can't get into it for the projects I've had. Most of my projects don't tend to be things where I care about strict memory requirements or ridiculous performance. I mainly just want something that works good enough for my own use.
I also tried Go, but I quickly left that when I found it had no generic support and the community is basically anti-functional constructs, preferring pure procedural stuff instead.
- jameshart 11y agoYour reference to 'more than 1 file' resonates with me. One thing C# gets wonderfully right is its approach to spreading code across multiple files. No dogmatic insistence on one class per file like Java; no file-level dependency-graph import/export nonsense; no compile order dependencies; with partial classes I can split code up logically across files if I need to. I can start off and build multiple classes all in one file to get my initial framework and patterns together, then I can refactor those classes out into their own files over time.