This may or may not be a stupid question, but why and when would you want to mix programming languages in a single app?
(ie: VB.Net and C++.Net)
What are the benefits and is any the downfalls?
Printable View
This may or may not be a stupid question, but why and when would you want to mix programming languages in a single app?
(ie: VB.Net and C++.Net)
What are the benefits and is any the downfalls?
You can't mix programming languages in an application.
Unless I misunderstand the question you can mix languages by referencing COM or .NET components or loading DLLs.
You may well want to write your front-end GUI in something that is quick to develop (like VB) but write components to handle the speed-critical processes behind it all.
This is what I'm meant, sorry for the misleading question!
So the benefits mainly all performance and of course ease of use (Using VB for the front end)?Quote:
You may well want to write your front-end GUI in something that is quick to develop (like VB) but write components to handle the speed-critical processes behind it all.
One of the touted advantages is that you can write your stuff in say, Delphi and I can write my stuff in Cobol, compile it as .NET and then someone case access it from VB. The idea that you can use your language of choice - as long as it'll do .NET
Yes, performance and ease-of-use. Reusability also comes into it. My current VB application has references to the Active Database Objects dll - I'm sure that this wasn't written in VB, but that doesn't stop me being able to use it.