Live data from Hacker News

LINQPad – The .NET Programmer's Playground

linqpad.net

51–60 of 137 posts

Re: LINQPad – The .NET Programmer's Playground

#51

Earlier quoted context omitted.

I don't think it's true that C# isn't taken seriously at Microsoft - some of the frameworks on top of C# come and go, but I worked on JS on WinRT briefly and can say it was never, ever "taken seriously" in the way the core C# language and runtime is. If you want to work with azure or windows, C# will be the obvious best choice for the foreseeable future, and if you want to work with C# outside of those verticals I do…

> 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.

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

#52

Earlier quoted context omitted.

There is a similar type of app called NetPad. https://github.com/tareqimbasher/NetPad It's not as good as LINQPad, but it runs on the Mac.

They don't have Syntax Tree analysis yet but I hear it will be released soon Notice a common theme here? Literally zero ways to browse C# syntax trees available on the Mac. Nothing in the cloud either from what I could find. Roslyn was open-sourced in April 2014, which was 122 months ago. (edit: Another commenter pointed out that there is in fact a new VS Code extension that can do this, released Aug 2023) By the way…

Autocomplete works fine interactively debugging on MacOS with JetBrains rider.

Syntax trees can be browsed on https://sharplab.io/ or again via Rider and I'm sure there are some other tools that I'm not aware of.

The Roslyn sdk is part of .NET (cross platform) these days so anyone can use it to build a visualiser should they wish to.

Re: LINQPad – The .NET Programmer's Playground

#53
post #23

Earlier quoted context omitted.

It's because Microsoft isn't really serious with C#. For years it has advertised other languages (e.g. JS on WinRT) or runtime (wasm), support in VS Code is still rather interesting, UI frameworks were never made truly multiplatform and the one which supposedly is is still buggy as hell (maui). C# 12 is a pile of crap (C# 13 looks interesting tho). So in the end it's good all those tools stay independent and focused.

I don't think it's true that C# isn't taken seriously at Microsoft - some of the frameworks on top of C# come and go, but I worked on JS on WinRT briefly and can say it was never, ever "taken seriously" in the way the core C# language and runtime is. If you want to work with azure or windows, C# will be the obvious best choice for the foreseeable future, and if you want to work with C# outside of those verticals I do…

I’m not sure I agree with C# being the only first class citizen in Azure. A lot of the Azure stuff like the whole automation is done with Powershell (or Python, but what Microsoft ops people does that?). On the development side of things Microsoft is pushing their container apps platform over their app/function platforms and it integrates with virtually everything.

Even on something like their MSGraph SDKs we’re often getting better performance out of the JavaScript SDKs.

I think it’s a little silly to say that Microsoft isn’t taking C# serious. If you look at Azure DevOps, which has not been taken very serious by Microsoft since they acquired GitHub and then compare it to C# there is just a world of difference. I do think it risks going that way. I’m not sure I think Visual Studio is taken fully serious anymore, but it’s still getting much more attention than Azure DevOps and C# is just… miles ahead of every product in terms of seriousness. I do think they are making it more and more like Typescript, I’m sure we’ll eventually see classes replaced by Types and functions being capable of living on their own, but that’s not really a bad thing.

Re: LINQPad – The .NET Programmer's Playground

#55
A true essential tool. One of the few pieces of software for which I own a personal license.

One of the useful features is that it keeps the executable running even after the script has finished, and will re-execute in the same process.

This has some downsides and quirks (if you're not careful, you can double-initialize things like database connections), but has benefits for debugging.

The newer versions have "built in" support for Benchmark.NET too which is a really nice feature for quickly proving code.

Re: LINQPad – The .NET Programmer's Playground

#56

Earlier quoted context omitted.

They don't have Syntax Tree analysis yet but I hear it will be released soon Notice a common theme here? Literally zero ways to browse C# syntax trees available on the Mac. Nothing in the cloud either from what I could find. Roslyn was open-sourced in April 2014, which was 122 months ago. (edit: Another commenter pointed out that there is in fact a new VS Code extension that can do this, released Aug 2023) By the way…

Autocomplete works fine interactively debugging on MacOS with JetBrains rider. Syntax trees can be browsed on https://sharplab.io/ or again via Rider and I'm sure there are some other tools that I'm not aware of. The Roslyn sdk is part of .NET (cross platform) these days so anyone can use it to build a visualiser should they wish to.

Where would .NET developers be without the Java based IDE, the irony

Re: LINQPad – The .NET Programmer's Playground

#58
post #23

Earlier quoted context omitted.

That is true of so many products. Notepad++, Paint.Net, Everything search. Products which would cost Microsoft absolute peanuts to acquire. Or even just use that as a model and rip it off entirely with an in house version.

It's because Microsoft isn't really serious with C#. For years it has advertised other languages (e.g. JS on WinRT) or runtime (wasm), support in VS Code is still rather interesting, UI frameworks were never made truly multiplatform and the one which supposedly is is still buggy as hell (maui). C# 12 is a pile of crap (C# 13 looks interesting tho). So in the end it's good all those tools stay independent and focused.

DevDiv, nowadays part of Azure, is serious about .NET.

Unfortunelly WinDev and XBox[0] only cares about C++ and COM nowadays, after they won over the whole Longhorn drama.

[0] - Managed DirectX and XNA were projects pushed by key engineers, folded after they weren't any longer around to argue for their projects.

Re: LINQPad – The .NET Programmer's Playground

#59
post #29

It's a nice program, but you need to pay to update every version of .net, which is every year. I used to purchase premium version (single user) and the upgrade option is $97.50 instead of $125 for new license.

You pay for every LTS dotnet,so every 2 years. E.g Linqpad .Net8 license also supports .Net9

> All licenses are perpetual (non-expiring) for the current major version, and include free minor updates.

Major version are: LINQPad 2, 4, 5, 7 and 8. The official page seems to disagree. There is nothing about LTS.

Sure, I can skip 7 and wait for 8, but that kind of defeats the purpose.

Re: LINQPad – The .NET Programmer's Playground

#60
post #43

Borderline dangerous software. If it was reliable and worthy of supporting a stack, it wouldn't be Windows only. By being Windows only, it conveys "toy" status. Professional database engineers don't use non-Linux, hence I can infer professionals don't use this.

This tool is for software engineers, not database engineers. .NET is a Microsoft tool, and one that was tied to Windows for a long time, so most tooling is Windows-only too.

What makes Linux uniquely appropriate for database engineering? Why not *BSD? What OS do you think engineers working with Microsoft SQL Server use?

Post reply on HN