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…
Introducing Bing Code Search for C#
81–90 of 235 posts
Re: Introducing Bing Code Search for C#
#82C# and .NET get a bad rap for being created by Microsoft. But one thing that can't be ignored is how polished their development tools are. I absolutely love coding in Visual Studio.
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…
Re: Introducing Bing Code Search for C#
#83Earlier 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?
Visual Studio now has Python support. I haven't yet tried it but it might be worth investigating.
Re: Introducing Bing Code Search for C#
#84Earlier 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…
- Never had background to foreground stall IDE issue in VS2010 or up - Nor misclicks stall IDE - Nor automatic refactoring analysis stall IDE - Automatic reformatting is a once click option to disable and is not terribly aggressive in VS 2010 up. - wants you to . Not forces. So, by the way, do JetBrains, NetBeans, Oracle ...
Re: Introducing Bing Code Search for C#
#85Re: Introducing Bing Code Search for C#
#86If 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
I'm wondering if there is a risk of being shown code snippets that represent "Do NOT do the following: ..."? Otherwise, really cool project!
Re: Introducing Bing Code Search for C#
#87Earlier 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…
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…
Re: Introducing Bing Code Search for C#
#88Earlier 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 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…
Re: Introducing Bing Code Search for C#
#89Earlier 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.
Re: Introducing Bing Code Search for C#
#90What a co-incidence! Fred Wilson posted on this very topic this morning. http://www.avc.com/a_vc/2014/02/inspired-by-github.html From his post: "I was at a hackathon up at Columbia University last weekend and one of the hacks was a development environment that automatically queried StackOverflow and GitHub as you are writing code so that you always have in front of you the answers to the questions you are most likely…
Most other experiences base their search algorithms on search engines / textual matching / rely on the host web site's search accuracy, where as we combine search engine smarts with semantic and contextual analysis.