Live data from Hacker News

LINQPad – The .NET Programmer's Playground

linqpad.net

61–70 of 137 posts

Re: LINQPad – The .NET Programmer's Playground

#61

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…

> Literally zero ways to browse C# syntax trees available on the Mac.

Literally zero? I can count 2 from the top of my head.

Re: LINQPad – The .NET Programmer's Playground

#62
post #51

Earlier quoted context omitted.

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

> it’s not particularly good at anything

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

Re: LINQPad – The .NET Programmer's Playground

#63

Earlier quoted context omitted.

Interestingly I tried this on my Dell ubuntu laptop and it doesn't work. May have to try and figure out why at some point.

Try pre-release version, also needs newer Roslyn version so the SDK needs to be updated too. OS here doesn’t matter.

Pretty sure I'm on latest 8 SDK, but did not try pre release of the the addin so that could be it.

Re: LINQPad – The .NET Programmer's Playground

#66
post #39
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 agree that MS is not completely serious about C#. They spend too much time on adding new language features but not enough on the essentials: There are big holes and missing bits in the Windows API wrapper that have been there for two decades. Most new MS apps like Teams of VS Code are not written in C#. I suspect it will limp along with hot and cold support from MS.

The Windows API is no longer the focus for .Net. They are very clearly pushing large scale web apps.

I’d be curious to know what percentage of people are still writing windows clients. I suspect there’s a lot of legacy code still out there, but it’s clearly not the future

Re: LINQPad – The .NET Programmer's Playground

#67

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…

Or anything with treesitter support?

Re: LINQPad – The .NET Programmer's Playground

#68

I’ve never got used to linqpad over just creating a console app and writing code, it may be because I’ve never been one for keeping a collection of snippets? I’m not against it, I just don’t need it

One of many useful features of LINQPad is the output visualizer ("Dump"). Granted, there are now NuGet packages (very likely inspired by LINQPad) that can do something similar in a console app but LINQPad is interactive, allows drill-down and can export to formats like Excel. It's such a productivity boost.

The database integration is also great and allows me to write ad-hoc SQL queries using LINQ.

Re: LINQPad – The .NET Programmer's Playground

#69
I stumbled across this the other day, I was given an old SQL Server Compact database and needed to dump out some information from it, and LINQPad was the first program that was recommended.

Unfortunately the DB was SQLServer Compact 3.5 and for whatever reason LINQPad couldn't find the required assemblies to open it which was a shame

Re: LINQPad – The .NET Programmer's Playground

#70
post #9

Unfortunately, they still haven't gotten around to making it usable outside of Windows https://forum.linqpad.net/discussion/1935/installation-on-ma...

I don't bother making anything run on linux unless it's meant to run as a service. It's just not worth the time and trouble to test it on multiple operating systems, probably with different libraries, just for what is a very vocal minority.

Windows has a bit less than half the marketshare for developers according to the last Stackoverflow suvery. By not having a Linux and a MacOS version, you are losing close to half of developers.

Even Microsoft themselves understood this.

Post reply on HN