▲ | squirrellous 4 days ago | ||||||||||||||||
Is there anything C# _doesn’t_ have? :-) It feels like C# has an answer to every problem I’ve ever had with other languages - dynamic loading, ADTs with pattern matching, functional programming, whatever this expression tree is, reflection, etc etc. Yet somehow it’s still a niche language that isn't widely used (outside of particular ecosystems). | |||||||||||||||||
▲ | rjbwork 4 days ago | parent | next [-] | ||||||||||||||||
It's one of the most widely used languages out there actually. But it's primarily used at buttoned up and boring SMB's/enterprise backoffices. We're not out here touting our new framework of the month to kafloogle the whatzit. We're just building systems with a good language and ecosystem that's getting better every year. I've worked only at startups/small businesses since I graduated university and it's all been in C#. | |||||||||||||||||
| |||||||||||||||||
▲ | garblegarble 3 days ago | parent | prev | next [-] | ||||||||||||||||
>Is there anything C# _doesn’t_ have? You were maybe already getting at it, but as a kitchen sink language the answer is "simplicity". All these diverse language features increase cognitive load when reading code, so it's a complexity/utility tradeoff | |||||||||||||||||
▲ | vaylian 4 days ago | parent | prev | next [-] | ||||||||||||||||
It's funny how C# started out as a Java clone and then added a ton of features while Java stayed very conservative with new language features. And both languages are fine. | |||||||||||||||||
▲ | dominicrose 3 days ago | parent | prev | next [-] | ||||||||||||||||
As someone who dislikes clutter, in my experience it's just easier to read and write with these languages: Perl, PHP, Ruby, Python, Javascript, Smalltalk. If you dare leave the safety of a compiler you'll find that Sublime Merge can still save you when rewriting a whole part of an app. That and manual testing (because automatic testing is also clutter). If you think it's more professional to have a compiler I'd like to agree but then why did I run into a PHP job when looking for a Typescript one? Not an uncommon unfolding of events. | |||||||||||||||||
| |||||||||||||||||
▲ | gwbas1c 3 days ago | parent | prev | next [-] | ||||||||||||||||
Good abstractions around units (Apologies if there is a specific terminology that I should use.) Specifically, I'd like to be able to have "inches" as a generic type, where it could be an int, long, float, double. Then I'd also like to have "length" as a generic type where it could be inches as a double, millimeters as a long, ect, ect. I know they added generic numbers to the language in C# 7, so maybe there is a way to do it? | |||||||||||||||||
| |||||||||||||||||
▲ | 4 days ago | parent | prev | next [-] | ||||||||||||||||
[deleted] | |||||||||||||||||
▲ | uzerfcwn 4 days ago | parent | prev [-] | ||||||||||||||||
> Is there anything C# _doesn’t_ have? Pi types, existential types and built-in macros to name a few. | |||||||||||||||||
|