Google developers produce new programming language

A new programming language that runs on the Java Virtual Machine is available thanks to a couple of Google’s developers.  Called Noop (pronounce it like an abbreviated version of “no operation”), the developers claim that it combines the finest aspects of other languages and attempts to guide users towards accepted best practices.

Other parts of the new Noop homepage (which is hosted by Google Code) explain that Noop “in source form looks similar to Java.  The goal is to build dependency injection and testability into the language from the beginning, rather than rely on third-party libraries as all other languages do.”

Then, “Immutability and minimal variable scope are encouraged by making final/const behavior the default and providing easy access to a functional style.  Testability is encouraged by providing Dependency Injection at the language level and a compact constructor injection syntax.”

Google NOOP

Google NOOP

The Noop website is pretty well built out if you’d like more information.  Google’s developers provided all sorts of details about the current state of things and where Noop may go, as well as a place or two in which folks can give feedback.

Using CS and VB code files together in App_Code

Many a times you require to use both C-Sharp (C#) and Visual Basic (VB) code class files in the same project.

If you just place your both the code files in your App_Code directly this is the error you’ll see,

“The files ‘/BlogEngine.Web/App_Code/VBCode/Class1.vb’ and ‘/BlogEngine.Web/App_Code/CSCode/Extensions/BreakPost.cs’ use a different language, which is not allowed since they need to be compiled together.”

But you can get this done, here is a very simple way you can try that out,

1) First make two folders in App_code with foldernames as
– CSCode
– VBCode

2) Modify the Web.config with following code:

<compilation debug="false">
 <add directoryName="VBCode" />
 <add directoryName="CSCode" />