Live data from Hacker News

LINQPad – The .NET Programmer's Playground

linqpad.net

101–110 of 137 posts

Re: LINQPad – The .NET Programmer's Playground

#101

Earlier quoted context omitted.

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

It uses a new Roslyn API to dump SyntaxTree and IOperation's starting at a specific span of source code IIRC, and it shipped in one of the minor version after .NET 8.0.0 release, it took me a bit to get it working upon its release but by this time you should have the necessary SDK, though the relevant extension version may still be marked as pre-release hence my suggestion.

I messed with it a little more before going to bed. The prerelease version changed the error and at least felt like it was closer. But I also found there was a new SDK release in the last few days that I have not upgraded yet.

Re: LINQPad – The .NET Programmer's Playground

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

> 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

#105
post #56

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.

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

Weird take

Where CPP devs would be without C# based IDE?

Where all devs would be without js/ts based vscode?

Re: LINQPad – The .NET Programmer's Playground

#106

In the background is this doing anything similar to what a F# typeprovider is doing?

Yes - When you connect to a database, it generates code for that database using something called a LinqPad Driver.

You can make your own driver as well as use about a dozen of other drivers.

Re: LINQPad – The .NET Programmer's Playground

#108
post #3

Great piece of software that I basically use for scripting/notebooking. Been writing C# so long it's my lingua franca and this tool lets me do pretty much everything (except actual shell scripting for use on e.g. build servers and deployment pipelines) in C#.

not sure if this is what you meant, but you can run linq files from the command line!

Yeah for sure. I do set up crons on my local machine using linqpad scripts every now and then, because it's just my special little snowflake one off.

But for Devops, build pipelines, etc. I prefer something a little more universally applicable and legible and that doesn't require a runtime. So bash is usually my approach there. Sometimes PowerShell if I know I'm going to be running it on a Windows box anyway.

Much as I love C#, if I came into an environment and all the Devops/CI/CD was done using Linqpad and lprun I'd immediately wonder what in the actual fuck I had gotten myself into, lol.

Re: LINQPad – The .NET Programmer's Playground

#109

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…

Your jetbrains hatred is so foreign to me. I think Rider is great and well worth the license.
Post reply on HN