News for hackers. Stuff that matters.
Re:LINQPad – The .NET Programmer's Playground by mandeepj on Sunday June 23, 2024 @11:22PM (#40772447)
> It's because Microsoft isn't really serious with C#

OP is speaking out of thin air. It's one of the best programming languages out there.

Re:LINQPad – The .NET Programmer's Playground by devjab on Monday June 24, 2024 @02:04AM (#40772975)
Best at what exactly? I can’t think of a single thing you would pick C# for instead of Java/Go, C/C++/Rust/Zig, Python or JavaScript/Typescript.

Not because C# is a bad language but because it’s not particularly good at anything. It’s a jack-of-all trades which isn’t even the best jack-of-all trades. So unless you have a lot of years put into it, either in your software stack or in your employees there is very little reason to use it in 2024.

But maybe you know of reasons to use that I’m not aware of?

Re:LINQPad – The .NET Programmer's Playground by phito on Monday June 24, 2024 @03:31AM (#40773365)
> it’s not particularly good at anything

It's extremely good for web APIs, for one.

Re:LINQPad – The .NET Programmer's Playground by high_na_euv on Monday June 24, 2024 @05:15AM (#40773910)
Very good lang, coherent ecosystem, great tooling, well designed std lib

By far the best developer experience I ever had was in C#.

I wish other langs like cpp or c were at least half as good at those as C#

Re:LINQPad – The .NET Programmer's Playground by neonsunset on Monday June 24, 2024 @06:28AM (#40774297)
Java and Go are both almost unusable at, for example, writing games unlike C# which has rich ecosystem for this, and it has been gaining performance oriented features in every recent version that make it able to compete with C and C++, be it compiler improvements or SIMD API. Meanwhile Java: https://x.com/lemire/status/1803101802700664955?s=46&t=QDsm5...
Re:LINQPad – The .NET Programmer's Playground by mandeepj on Monday June 24, 2024 @10:01AM (#40776176)
> Best at what exactly? I can’t think of a single thing you would pick C# for instead of Java/Go, C/C++/Rust/Zig, Python or JavaScript/Typescript.

C# was the first to get async/await, generics, LINQ, PLINQ etc - the path-breaking features that shoot up not only productivity but the ability to do certain things in a much better way.

Just because kids have caught up, it doesn't mean we are going to abandon the daddy.

Re:LINQPad – The .NET Programmer's Playground by devjab on Tuesday June 25, 2024 @01:38AM (#40784869)
That’s sort of what I said though. You use C# because you used to use it. It’s like that for a lot of languages. I think it’s largely why Java is still around, and the wait paid off considering Java has overtaken C# on many aspects.

but if you were going to pick a tech for a new project without a history of using C#, why would you pick it in 2024? If you’ve got a large .Net stack and a lot of experience with it, it’s still a great choice. I was a c# developer for a decade mind you, and I’m not sure I’ll ever use it again because it sort of lost its foothold despite being in a really great place.

Re:LINQPad – The .NET Programmer's Playground by phito on Tuesday June 25, 2024 @04:46AM (#40786050)
> it sort of lost its foothold

I think you're just in a bubble. dotnet is widely used, and keeps getting better. I can program in many languages and yet csharp will very often be my go to for backend stuff because it's just the best.