Live data from Hacker News

LINQPad – The .NET Programmer's Playground

linqpad.net

111–120 of 137 posts

Re: LINQPad – The .NET Programmer's Playground

#111

I haven't used Linqpad in a long time but one of the most useful features it had was the ability to add connections to your SQL Server databases and then write quick throwaway LINQ/Lambda style syntax queries against it, e.g. radios.GroupBy(x=> x.Channel).Select(x=>x.OrderBy(y=>y.Price)).Select(x=>x.First()); If I remember correctly, it also let you compare the LINQ query against the transpiled SQL so you could try t…

I haven't used the .NET Core version but the old one 100% had a view to see the generated sql.

This is still very much a feature.

I often write/compile .NET Core code in watch mode and then use LinqPad to explore existing libraries.

Re: LINQPad – The .NET Programmer's Playground

#112

Earlier quoted context omitted.

Rider. Also, autocomplete works in VS Code debug tab just fine? Please stop trying to make the windows point.

What are you talking about? This is well documented. https://github.com/microsoft/vscode/issues/30065 https://github.com/microsoft/vscode/issues/48810 https://github.com/dotnet/vscode-csharp/issues/1609 https://github.com/dotnet/vscode-csharp/issues/299 https://github.com/microsoft/vscode-dotnettools/issues/573 https://github.com/dotnet/vscode-csharp/issues/5276#issuecom... https://isdotnetopen.com/ A Rider license c…

I pay $173 per year for JetBrain's 'All Products Pack'. Considering the salary I make as a software engineer, and the quality of the tools JetBrains provides, this is a great investment. Rider works flawlessly for me, far better than VS.

As a side, it always strikes me as ironic that software developers are paid extremely well and yet hesitate to pay even a modest fee for the tools that enable them to do their job. Most "free" tools are not free - someone was paid to create them. IMO whether engineers are on a stable payroll is a differentiating aspect to why some tools succeed and become widely used and some don't. In the case of dev tools, our tech corporatocracy MAMA (Microsoft, Apple, Meta, Alphabet) pay engineers to make products like VS Code, then release for free. This is for eyeballs of course, because charging for the tools would get them nothing in comparison to their main platform revenue streams, which benefit hugely from the network effect.

Re: LINQPad – The .NET Programmer's Playground

#113

Earlier quoted context omitted.

For organizations it is, for users it's $149 annually and then cheaper: https://www.jetbrains.com/rider/buy/?section=personal&billin... It is also free for OSS development, I maintain a couple of .NET libraries and applied for JetBrains free OSS license and they approved it within a week or so. On debugger - Rider uses its own debugger, they do not license it. Also, please do not link posts from Miguel De Icaza when…

And for organizations, it's only $419 for the first year. It's $251/yr from 3+ years on. It should be noted that $419/year is $35/mo, which is still $10/mo cheaper than the Visual Studio 2022 Professional monthly subscription at $45/mo. $21/mo at 3+ years is less than half.

[deleted]

Re: LINQPad – The .NET Programmer's Playground

#114

Earlier quoted context omitted.

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.

Jetbrains IDEs aren't free (and cost many times more than what is fair for the quality of the product they are known to ship), and SharpLab only has a partial implementation of it: https://github.com/ashmind/SharpLab/issues/616 > The Roslyn sdk is part of .NET (cross platform) these days so anyone can use it to build a visualiser should they wish to. Of course, but for most people that need this, they may just be try…

Oh for crying out loud, you could not have chosen a worst company to go after for the accusation of "rent seeker."

Jetbrains has offered perpetual fallback licenses for all of their products for years now. This means that as long as you don't need any of the new updates, you can purchase it for a one time fee (basically the equivalent of a single year's license) and then you own it.

As far as their products not being worth what they charge, I pay about $180 per year (15$ / month) for the entire jetbrains library and consistently use CLion (for C and C++), Datagrip (postgres, mongo), Data rider (c#), Web storm (typescript), Phpstorm, and Pycharm. Considering these are the tools of my trade, that's more than a fair asking price.

They've also been incredibly responsive, especially considering the massive upheavals within the company as a result of the invasion of Ukraine by Russia. Whenever I've filed an issue on youtrack, it usually gets a response, and often a bug ticket that's handled within a few version iterations later at most.

Re: LINQPad – The .NET Programmer's Playground

#115

I've always wondered why it doesn't provide PowerShell support since it too is built atop .NET

The hosting API is completely different. Roslyn handles VB.NET and C# with basically the same API. Adding PowerShell is akin to writing the core part of all that a second time. Not that it can't be done, but most of the time PowerShell itself is already a capable REPL, so I guess there's also less need for it in LINQPad.

Re: LINQPad – The .NET Programmer's Playground

#116
Awsome tool which I used for a while. Then I switched to RosylnPad because it was enough for my use cases, and it included intellecense.

Nowadays, I am looking for a notebook style editor (like jupyter notebook) that supports dotnet well and works with VS Code. I tried Polygot notebook a while back, but it kept crashing, so I un-installed it.

Re: LINQPad – The .NET Programmer's Playground

#117

Linqpad is one of the few tools that do what they need to do without much fuzz and in a straightforward manner. Beyond Compare is also in the same category. I am glad that the UX people haven't gotten around to mess it up yet.

+1 Beyond Compare. It's been on my list of must installs for every new system I've set up for many years.

Re: LINQPad – The .NET Programmer's Playground

#118

Earlier quoted context omitted.

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.

Jetbrains IDEs aren't free (and cost many times more than what is fair for the quality of the product they are known to ship), and SharpLab only has a partial implementation of it: https://github.com/ashmind/SharpLab/issues/616 > The Roslyn sdk is part of .NET (cross platform) these days so anyone can use it to build a visualiser should they wish to. Of course, but for most people that need this, they may just be try…

My full toolbox sub costs less than either my spotify or netflix subs do. Move along.

Re: LINQPad – The .NET Programmer's Playground

#119

Linqpad is one of the few tools that do what they need to do without much fuzz and in a straightforward manner. Beyond Compare is also in the same category. I am glad that the UX people haven't gotten around to mess it up yet.

+1 Beyond Compare. It's been on my list of must installs for every new system I've set up for many years.

For Windows OSes, winmerge [1] has been a solid free alternative to beyond compare for me for years.

[1]: https://winmerge.org

Re: LINQPad – The .NET Programmer's Playground

#120

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

That's exactly the kind of thing I always hated about .net -- how the absence of a REPL forces me to create an executable for even the tiniest things. LINQPad solves this beautifully. Not sure if index ranges are inclusive or exclusive? Open LINQPad, double-click tab bar to open a new tab, type `"0123"[..^2]`, press ALT+X, done. I'd never go through the hassle to create an executable with VS for that, so instead I have to look up the documentation which is much more boring. And what's even better: countless times I was wondering what happens inside the framework and because LINQPad comes with ILSpy (I believe so, maybe you'll have to set it up) you can just F12 a framework method to see its source.
Post reply on HN