Live data from Hacker News

Introducing Bing Code Search for C#

blogs.msdn.com

71–80 of 235 posts

Re: Introducing Bing Code Search for C#

#71
post #17

It will be quite nice if this ends up yielding results for individual JavaScript frameworks some day.

I'm one of the creators of Sourcegraph, which does have results for many JavaScript frameworks. You can find examples from all across GitHub, and you can search by function name or full-text documentation.

JS is hard to analyze, but we're working hard on getting better--and the analysis code is open source[1].

https://sourcegraph.com/github.com/joyent/node

https://sourcegraph.com/github.com/jashkenas/underscore

https://sourcegraph.com/github.com/caolan/async

[1] https://sourcegraph.com/github.com/sourcegraph/jsg

Re: Introducing Bing Code Search for C#

#73
post #40

Earlier quoted context omitted.

It's in no way in a worse place than, say, java. It would be nice if the CLR and Roslyn was open sourced, but I wouldn't make it a primary concern when choosing a platform for a project. The ecma standardization feels at least as important.

Right, but that's just because Oracle has been such a shitty owner of Java. However, at least Java is supported by more than 1 company on more than 1 platform; C# doesn't offer any real advantages over Java (other than some cosmetic language features).

Ignorance is indeed bliss. Differences are not just skin deep, like generics where type erasure is used in java for instance. I suggest reading up on this: http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java#...

Re: Introducing Bing Code Search for C#

#74

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.

That's an optimistic world view.

Getting a web app built on .NET/MVC4/IIS running on mono isn't a trivial endeavor, and the open source implementations rightfully tend to lag behind the closed implementations.

Re: Introducing Bing Code Search for C#

#75

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

This is a pretty cool research project. I do not use Visual Studio but being able to search for and use code-snippets inline can be quite the productivity booster. Lord knows how many times I use google. Have you considered perhaps including more data sources ? I'd imagine for example a public code repository like Github or Codeplex will extend the range of possible "How Do I" questions that can be answered. On an un…

There's alot more that can be done with the technology. We wanted to start with a few core partners and drive the quality and relevancy up as we go - so, can we? Sure. It's a matter continuously improving the service

And, agreed, MSR does some cool stuff :)

Re: Introducing Bing Code Search for C#

#76

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.

We stopped using Mono after a few months. With .NET's Task Parallel Libraries we saw an enormous performance difference between Mono/Redhat vs. .NET/Windows, with the latter often running many times faster. Tuning the GC and heap size didn't make much of a difference.

.NET seems to be well worth the cost of running Windows, but the consequent platform and vendor lock-in is still a concern for us.

Re: Introducing Bing Code Search for C#

#77

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

#78

I really, really want this for IntelliJ/Android Studio. Actually, everything, can I get this for everything?

I am actually looking at doing this, but integrating it with the searchcode.com API. At the moment its just a question of long it would take me to build a plugin for IntelliJ/Eclipse/Visual Studio. I did look into oursourcing the work but the price as a little high for me to swallow at the time.

Re: Introducing Bing Code Search for C#

#79

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…

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…

Yea, this is complete bollocks. Not a word of it is true. You may have a shitty thing in your corp that forced you to do this, but that has nothing to do with Microsoft.

Re: Introducing Bing Code Search for C#

#80
post #5

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

Students and businesses can get (and keep) the software for free through DreamSpark and BizSpark.
Post reply on HN