12

I'm trying to guage how popular and how used LINQPad is today. I'm just wondering if it's still a useful tool or not as VS and other tools have gotten better.

Furthermore, I am coding over LLBGen by working with LINQ to SQL. I see there is a plug-in for LLBGen and LINQPad. Still I wonder if LINQPad is really worth it or what benefits it can give me or if it's still highly suggested out there for ORMs, etc.

1
  • 4
    If you're asking a question like this, you don't really understand what LinqPad does. It is far more than just a query tool. It is a complete C#, VB.NET, F#, SQL, LINQ, RAD/Prototyping tool. Is it really worth it? It's not like Alhahari is asking $500 for the tool. He asking ~$50. One of the best bargains in software. Commented Jun 29, 2011 at 11:36

5 Answers 5

39

I'm just wondering if it's still a useful tool

ABSOLUTELY!

Use it more days than not. A lot of times, I find trying a little snippet out in LinqPad quicker than reading a doc (i.e., today I wanted to know what Exceptions would be thrown by a framework method under various inputs - LinqPad answered that very quickly).

10

I use LINQPad all the time. Not just for LINQ but also as a sort of C# interpreter scratch pad. Even with Intellisense sometimes I need to quickly try out a command to see if the results equal what I'm expecting when writing code. I can quickly type in a line or two in LINQPad and see what happens. I often keep it open while developing in Visual Studio and switch over for these quick and dirty tasks.

8

I use it a lot, with autocompletion. Great for testing regex-patterns or other small snippets with. The Dump()-method give a very readable output when trying various linq-queries. Especially in combination with F8, which open the result on the second screen.

Update: LINQPad also supports writing full classes and methods in the same file by selecting "C# program" as language. It can replace throw-away concole-applications.

4

I have gotten to a point where I use LINQPad a number of times a day. I guess I am pretty much fine with not having intellisense, because now-a-days I don't find it that tough to remember the syntax, LINQ included. So I normally I won't be at a point at which I am scratching my head for intellisense to come to my rescue! Using LINQPad certainly does save a lot of time for me. Just think of a scenario where I have to change the variables for some calculation number of times and see the results. This would never be a fun thing to do w/ VS. But LINQPad makes my life simple, because the maximum I have to do is change the variable values and hit on F5! I also have the results in text format just below. So according LINQPad is not going to go for a few years to come!

3
  • Programming without intellisense? But with it I only have to type three characters and it autocompletes the rest = more speed.
    – Carra
    Commented Mar 14, 2011 at 22:06
  • 1
    @Carra - you are right. But this is for linqpad - intellisense isn't free ;) I am not going to type pages in there, just 5/10 lines - i guess we should be able to use linqpad without intellisense ;)
    – k25
    Commented Mar 15, 2011 at 2:31
  • 7
    Shame on him for wanting to make some money on such an excellent tool. And shame on him for making it cheap enough where every developer out there could easily afford it if developers weren't all always demanding everything be 100% free. Commented Apr 13, 2012 at 19:18
3

The main reason I use LINQpad is because my main code base has Code Analysis (FxCop) and Source Analysis (Style Cop) and all Warnings as errors enabled. When I need to quickly prototype or proof-of-concept something it isn't always practical to do it on the main code base as it can take too long to get the code to a state where it builds.

Once I'm happy, if needed then I can copy the code into my main code base and refactor to meet the project's guidlines and rules.

Not the answer you're looking for? Browse other questions tagged or ask your own question.