Live data from Hacker News

Introducing Bing Code Search for C#

blogs.msdn.com

91–100 of 235 posts

Re: Introducing Bing Code Search for C#

#91
post #82

Earlier quoted context omitted.

Personally, it's because Microsoft development locks you in, and costs a lot of money. The OS costs money, the server OS costs money, the database costs money, the IDE costs money, everything costs money, and you have to use it, for the life of your app. To many young developers these days, and IIS server is the thing your company keeps in the closet to some sluggish legacy monstrosity which has been replaced for yea…

VS lock in is a very real thing. At my current employer, there is no way they could ever come off of VS and .Net because of the lack of polyglots in the office. There is one of us that does Java, 3 that do PHP (only in the last 6 months), and 6 that are set up for .Net MVC. Management just can't spare the costs to retrain, and none of these guys go home and code on non MS platforms.

What about Mono? I have no idea how practical this is for real code bases, but I've used it successfully on several smaller projects.

Re: Introducing Bing Code Search for C#

#92

It's interesting that the example code shown is so clunky. It uses try-finally to manually dispose the resource when the idiomatic way would be to wrap it in a using block: using (var file2 = new StreamReader(file)) { while ((line = file2.ReadLine()) != null) Console.WriteLine(line); } It's possible this is a badly picked example but it shows one big downside of this -- the lack of discussion about the sample code th…

[deleted]

Re: Introducing Bing Code Search for C#

#93
post #48

Earlier quoted context omitted.

It pains me if I am honest. Our CMS is built on .NET and it's like an uphill battle selling it as it's on IIS and it's .NET. I have played around with the idea of reworking it into an open source language and open source database but I would miss Visual Studio and the language a lot. I don't get all the hate?

I have done a lot of Java, Scala, etc. IntelliJ & Eclipse are both wonderful IDEs in their own right. A lot of things like ReSharper were in those IDEs before Jetbrains (maker of IntelliJ) made the plugin for VS. After trying VS for a couple of projects I found it completely baffling and backwards. And I don't think this is because VS is bad, but because the way I approach software is completely different. I want to…

Most every command that can be done with a gui can be done via command line, mostly powershell; which you can use remotely. In fact I would be hard pressed to find any administration routine that cannot be done through command line and is not documented.

Re: Introducing Bing Code Search for C#

#94

Earlier quoted context omitted.

I think it's less about not wanting to use Visual Studio and more about not wanting to have a Windows VM thrashing resources. I've worked with teams that have migrated to ServiceStack just to avoid running Windows. Assuming that running Windows is a non-issue, the parts that really, really bug me are: - Background operations suddenly become foreground operations that stall the IDE with a dialog saying "A background o…

I believe you have an install issue.

Wouldn't that be nice?

I'd be inclined to agree with you if it were just me or one machine, but these are characteristics that I'd use to describe Visual Studio across a number of machines, projects and teams over several years.

Re: Introducing Bing Code Search for C#

#95

Earlier quoted context omitted.

Personally, it's because Microsoft development locks you in, and costs a lot of money. The OS costs money, the server OS costs money, the database costs money, the IDE costs money, everything costs money, and you have to use it, for the life of your app. To many young developers these days, and IIS server is the thing your company keeps in the closet to some sluggish legacy monstrosity which has been replaced for yea…

It's not very true that you're locked into anything anymore. See Mono, Xamarin, Sharpdevelop, etc.

What you're saying is only true for perhaps the simplest "Hello World!"-level apps. Much beyond that and it just isn't trivial to use those alternative tools effectively, even when you're specifically targeting them and not actual .NET.

Re: Introducing Bing Code Search for C#

#96

If you want more info about the extension let us know. There's alot of cool contextual and semantic pieces in there that makes it a smarter search

Hi, how do you check if the snippet it pulls from stackoverflow works? Static analysis?

Static analysis is part of how we grade the samples (using Roslyn). Obviously this tool isn't a magic wand, the goal is to get you as close as possible to relevant results that you can dig deeper into

Re: Introducing Bing Code Search for C#

#98
post #53

Earlier quoted context omitted.

.NET is a framework. This is how the stack looks like: http://en.wikipedia.org/wiki/File:DotNet.svg .

Sorry, I updated my comment. I also should have mentioned Mono, but that's a different topic.

I don't think it's worth mentioning Mono. It's impressive what they've managed to accomplish, but it's nowhere near being a true replacement for .NET, especially for any serious system.

Re: Introducing Bing Code Search for C#

#99

Earlier quoted context omitted.

Moreover, their business unit's licensing/pricing team are chasing your code forever to suck more margins from its use. While developing with MS technologies, you must accompany any code, tests and documentation with a "My License" folder with "licensing.cs" files to calculate, the implied licensing costs of each piece of code you develop along with all required MS components down to the metal. Finally, you must make…

This is satire. Calm down.

thanks for getting the satire :-) few years back i used to work for mankind's largest IT project leading a C# team to develop certain missing parts. Licensing implications for each piece of idea were so immense, we needed to keep architectural decision inline with licensing plans.

Re: Introducing Bing Code Search for C#

#100
post #48

Earlier quoted context omitted.

I have done a lot of Java, Scala, etc. IntelliJ & Eclipse are both wonderful IDEs in their own right. A lot of things like ReSharper were in those IDEs before Jetbrains (maker of IntelliJ) made the plugin for VS. After trying VS for a couple of projects I found it completely baffling and backwards. And I don't think this is because VS is bad, but because the way I approach software is completely different. I want to…

Most every command that can be done with a gui can be done via command line, mostly powershell; which you can use remotely. In fact I would be hard pressed to find any administration routine that cannot be done through command line and is not documented.

The thing that I could use most is a way to automate setting up a reverse-proxy on a given path. I've figured out the steps to make it happen in the GUI. But that is tedious and error prone.

Where would you suggest I go to find the best way to handle this?

Post reply on HN