views:

248

answers:

8

I mean primarily languages that are part of the .NET infrastructure, such as

  • F#
  • IronPython
  • C++/CLI
  • Nemerle

What are the benefits? What are the caveats?

+3  A: 

I haven't really used anything other than C# (and occasionally, when forced, vb.net) within a single project.

However, I have found myself using some convenient functionality out of the Microsoft.VisualBasic namespace from within C# every now and then.

I think I'd like to try some of the more esoteric .net languages (such as F#) within a single project/solution. So far though, I haven't found a compelling reason to do so.

Andrew Rollings
A: 

I have been itching for an excuse to use LOLCode in something, but have never been able to justify it yet.

seanb
+1  A: 

PowerShell: scripting language to sew together .NET objects (or COM objects). Takes care of a lot of "duct tape" issues magically.

John D. Cook
A: 

I use a pretty obvious combo of C#, Javascript, and SQL in my day-to-day. Although on my current project we don't do much JS since we switched to using VisualWebGUI, I really like JS. SQL not so much.So I was happy when MS decided that some of the more complicated SQL logic could be written in C# or VB9.

Thedric Walker
A: 

VB6 COM libraries. Not all of us live in the present :)

Jimmy
ouch, sympathies
annakata
+1  A: 

I've taken to replacing ASP.NET as a templating language with XSLT and JS - haven't looked back, but I know this is a controversial viewpoint.

annakata
Have been considering moving back to XSLT myself, used to use it all the time in ASP
seanb
A: 

I've used IronPython and IronScheme with C#, but mostly for prototyping and exploration, as my workplace only uses C# for production code. I'd really like to get CsharpRepl working on Windows.

I prefer interactive exploration, C# doesn't really allow that outside of CsharpRepl, Python and Scheme do. Caveats are that places that say 'We use .NET' really mean 'We use C#' so don't expect anyone else to read/understand/use .NET code outside of C#.

shapr
A: 

I try to write all of my .NET code in the same langage so I use mostly C#. When I need unmanaged functionality I use C++ and then I either use COM or C++\CLI for interopability.

Dror Helper