C# was developed by a Dane, but it wasn’t developed in Denmark. The creator of PHP was born in Greenland, but again the language was developed elsewhere.
C# wasn't created by just Anders Hejlsberg. There wouldn't be a C# without Scott Wiltamuth or a Peter Golde (and a lot others). Though I guess you could argue that there wouldn't be a "modern" C# without Mads Torgersen who is also Danish.
That being said. "GP" jokingly said languages which were considered "best". I'm not sure what C# is supposed to be "best" at? It's not Java and it's certainly not LISP.
IMHO C# is a very good, pragmatic language. It is not unique and groundbreaking like say Lisp, but it has a very well balanced set of features which makes is both productive and maintainable. It doesn’t have the level of boilerplate which make Java tedious, but its strong static type system makes it (IMHO) more maintainable than say Python for larger projects.
I think C# is a perfectly fine language, but as you say it's not really groundbreaking or unique. It's probably not even my top-five choice for general purpose language in 2024 but it's obviously gotten (is still getting) "the job done". If we're to praise Anders Hejlsberg's work I would personally pick Typescript above C#. Just look at how influential Typescript has been for global development in the previous decade.
I disagree with C# not being groundbreaking or unique, at least to some extent. Yes, a big part of the language could be considered "vanilla object oriented", but that's not really a bad thing. These are some things that C# pioneered:
* Expression Trees and LINQ (still a pretty unique feature)
* async/await/yield syntax, adopted later by many others
* get/set property methods
* null coalescing (??) syntax
* extension methods and partial classes
Even if C# was not the originator of some of these, it definitely played a key role in popularizing them and offered a good reference syntax and semantics that others could draw inspiration from.
C# also has great synergy with the F# language which is so unique and innovative that it might seem 'alien' at times. :-) I think some of the C# features appeared in some form in F# first (citation needed :-).
- Stuff like LINQ and Expression Trees are to be found in Lisps, Smalltalk and ML derived languages
- Kind of true on this one, although Active Objects, and various flavours of co-routines predate its use in Midori, which eventually lead to async/await design
- Already present in Eiffel and Delphi
- Eiffel among possible others
- Special case of languages that allow for generalised call operators, and Delphi and C++ Builder did partial before
F# currently is so relevant that apparently has zero content to show up on .NET 9 release notes.
Currently posted .NET 9 articles talk mostly about platform-wide features and improvements, pretty much all of which equally benefit F#. Probably even more so when it comes to performance - I expect devirtualization and escape analysis improvements to impact F# to a greater extent than C#.
The efforts on F# are a tragedy, instead of providing proper content, forward to blog posts that we all know eventually disappear from Microsoft blog history.
That's just how F# team does things. There's no "single direction and decision" behind this - much less people work on F#, it's a much more community-driven language.
Personally, I see nothing wrong with it, because what matters most is how practical the language is when applied to solving a particular task, how well it integrates with the rest of the ecosystem, etc. On this front, I think F# does better than Scala or Clojure, or even Kotlin.
What it does need, I think, is better marketing around data science and machine learning domains - F# is a language which very well fits into this use case, and already has small but nice set of libraries like Diffsharp, and is being used by research labs in pharma sector (albeit on top of Fable, which I'm not a fan of).
You also need to remember that many C# features stabilize very late into release cycle. On one hand, posting about development early and actively brings more feedback, which is good, but it also may give a wrong impression, especially if a casual reader misses "this is early/experimental" disclaimers.
Kotlin? For sure, it's the Android language after all, so it is looked after, sure. Does it integrate better? That's up to debate. For example, F# 9 integrates C# NRTs in the form of T | null unions, which is elegant and idiomatic approach that brings together nullness knowledge between the two. For now, this is not the case with Kotlin.
I encourage you to look at the state of Clojure and its usability within larger Java ecosystem. Quantity of material, as usual, is not everything.
> Meanwhile Microsoft keeps behaving as if it was a management mistake to have added it to VS 2010.
Do you have anything to back up this assumption with?
Clojure Datatomic powers Nubank business, just for one example.
Scala still powers a lot of big data and distributed computing frameworks in Java ecosystem. In .NET, the counterparts which only exist for Akka really, are written in C#.
.NET has hardly any big product that is relevant for big data folks, and the ones that exist are equally written in C#.
The only well known flagship product was JET.com, meanwhile acquired by Walmart, which by now was rewriten most of it.
The lack of exposure in .NET ecosystem, not keeping to the story how to sell F#, first companion class libraries, then Web development, maybe type provideders with the World Bank example demoed to exhaustion, maybe machine learning (while Microsoft actually hires Guido and alongside Facebook brings performance improvements and JIT support), only C# and VB are default for Windows desktop
workloads, nowadays in what concerns .NET 9, who knows what the theme is.
In Visual Studio 2024 full installation, how many C# workloads also support F# as an option?
It is basically CLI, class libraries, and those old Web projects from the "F# is great for Web" marketing phase.
Do IntelliJ Idea or Eclipse offer Clojure and Scala templates for popular web frameworks out of box? How about multi-platform GUI applications in something that isn't Kotlin multiplatform? Not going to ask about convenient CLI since it just doesn't exist in Java land.
There are other companies which use F# in the area of logistics, pharma and I know of at least one company that has services in it in a bit less reputable industry.
I feel like this kind of perception is highly biased, or, at least, unhelpful.
Swing is the box, what is the Microsoft in the box solution? MAUI still doesn't do Linux, and is focused on C#.
3rd party stepping in for Microsoft doesn't count in this discussion.
What matters is public perception, and people applying for jobs.
By now I don't expect another fate, other than joining VB and C++/CLI teams, in bug fixing, minor interop improvements to keep up with C# features, as little as possible, and that is it.
> 3rd party stepping in for Microsoft doesn't count in this discussion.
This completely misses the point of having rich ecosystem nor has any relevance whatsoever from practical standpoint for organizations that have competent leadership.
For all intents and purposes, this would completely disqualify Clojure and Scala themselves since they don’t come from Oracle, and Kotlin if Google/JetBrains don’t count either.
You can’t be serious.
The crybegginng attitude that expects everything to come from first party is extremely damaging to .NET ecosystem because it hinders evolution and innovation, and further expansion of it. Luckily it’s slowly going away but your reply is a good demonstration why it is bad.
Even the current state is too first-party leaning - too many features that have no business being in extension packages let alone CoreLib (e.g. “please fix obsolete System.Drawing on Linux because our legal is incompetent enough to not allow SkiaSharp”)
> VB and C++/CLI
C++/CLI only works on Windows. In no uncertain terms, it is deprecated and effectively dead. You must not write new code with it and existing code must be ported to C# if possible. VB.NET is supported but does not receive new features.
The only possible way for you to compare this to F# is to completely ignore all devblog posts and releases concerning its continuing development. If you did read them, you would also know about the high-effort changes it adopts to stay up to date with the rest of the ecosystem when it introduces new way of doing something. In which case, it is reasonable to ask where do you even pull these assumption from then?
I basically expect a bit of ABK acquisition budget to provide the same across all development teams.
Just like Common Language Runtime was announced in 2001, where all Microsoft languages used to be on equal tooling level. Unfortunately to those languages, CLR now means C# Language Runtime.
Microsoft isn't a poor startup trying to make it over the next month, as shown not only by ABK, their whole profit and market valuation.
By the way, C++/CLI was recently updated to C++20, as of last year, and is a critical component of WPF, remade official GUI framework at BUILD 2024.
No use to keep discussing this, lets see how much F# is there in .NET 9 and VS 2024 update when November comes.
> I encourage you to look at the state of Clojure and its usability within larger Java ecosystem. Quantity of material, as usual, is not everything.
For what it's worth, I have been a newcomer to both languages the past few years. Clojure has been way more usable than F# and it's not even close.
Clojure is firmly in the quality not quantity category. Good books, novel libraries, a very active slack. Things usually "just work."
F#? Broken type providers, scaffolding that doesn't work past .NET 6.0, a genuine lack of books. Sometimes things work great, they often don't, and the typed nature makes a lot of these things hurt more.
I’d say the most important languages are Fortran, Algol, Lisp, and ML. All other general-purpose languages are just different combinations of features from these.
General purpose languages in 2024? Something on the JVM (I prefer Clojure), Rust, JavaScript (typically through Typescript), Erlang and Go.
If you had asked me a decade ago I would've said C# in place of the JVM, C/C++ in place of Rust and Python in place of Go. I think it would be perfectly reasonable to put C#, Python or even PHP on your top 5. I don't because I think they've been "outpaced" in usefulness by the JVM and Go. I know Go is a controversial opinion as Go is in many ways inferior to both C# and Python. The reason I place it higher is because I really dig some of the philosophies it comes with. I much prefer to work on code with explicit error handling and no cyclical package imports. This along with the focus on simplicity and how much you can do with just the standard library makes it very easy to write understandable (no magic) and maintainable code. It's one of the few languages where I can open a code file and immediately know what's going on almost regardless of who wrote it.
With that said, Clojure is my personal top language and I really hope I'll get time to pick up the "JavaScript" side of it so I can do all my Typescript work within Clojure. Haskell is too rigid for me and both it and Common Lisp doesn't come with the ability to tap into the JVM (which can be both a blessing and a curse). To be fair Lisp has Clasp which is much more powerful for some uses. I don't think you can ever really avoid C/C++ (Rust for safety) or Erlang in certain parts of our industry and I'm not sure they'll get real competition. Maybe if Zig manages to pick up a cult following like Rust has? The reason the JVM and it's languages rank so highly for me is in part because of its popularity. This may not be a good metric but I personally think real world application is a key factor for general purpose languages. Coupled with it's massive leap forward with it's recent updates it is simply a great platform in 2024.
I never understood HNs fascination with BEAM family. I feel like very few people people here actively use it for anything even remotely intensive - it simply has too much of a runtime bloat, as slow as Ruby in low concurrency tasks, and Erlang is often too unwieldy.
Go aside, it's as if everyone hates getting things done in a delightful way, which is why I find this top 5 leaning a bit too much towards the quadrant of PL elitism and historical status quo adherence at the same time. Not to mention the drawbacks of JVM, which is by all means a stagnating ecosystem, despite the work to catch up with the rest, it might be a little too late.