Cobra is not for me
Posted: Fri Feb 08, 2008 3:01 pm
Hi Chuck,
I'm a .Net developer, working in Visual Basic.NET, C#. And T-SQL, JavaScript, CSS, XML, HTML, the .Net framework, etc.
I had a brief look at Cobra. I especially like the support for code quality. I think contracts, nil tracking and enhanced asserts are great features, which as you point out are (sadly) not supported in VB and C#.
Here is my point: I dearly wished that instead of inventing a new language, someone would enhance the languages I already work with (VB, C#) with those additional code quality features. Because that is the only way I would use those features. Please let me explain.
I currently work with 3 procedural languages: VB, C#, JavaScript (4 if you consider SQL stored procedures), which can be confusing at times, with their syntax being almost (but not totally) the same. I'd much prefer to use only one language - eg. C# on both .Net, on the client and in SQL stored procedures. That would save a lot of time looking up language details. I don't really want to learn another procedural language.
Also, I have only so much time and energy each day to learn new skills. I tend to use my time on skills that I believe will help me do a better job, impress my boss, boost my resume or get me a better hourly rate. Currently I'm focusing on the new features in the .Net platform (LINQ, WPF), because I know I'll be using those. Meanwhile, I also try to have a life outside IT.
If you find a way to enhance VB or C# with contracts, etc., I'll invest time today to learn all about it - because I'll be able to use it in my projects tomorrow at work.
Alternatively, if you could persuade Microsoft to implement contracts, nil tracking and enhanced asserts right in the next verrsions of the C# and VB languages, I would be grateful
Wishing you lots of success in your endeavors,
Matt
I'm a .Net developer, working in Visual Basic.NET, C#. And T-SQL, JavaScript, CSS, XML, HTML, the .Net framework, etc.
I had a brief look at Cobra. I especially like the support for code quality. I think contracts, nil tracking and enhanced asserts are great features, which as you point out are (sadly) not supported in VB and C#.
Here is my point: I dearly wished that instead of inventing a new language, someone would enhance the languages I already work with (VB, C#) with those additional code quality features. Because that is the only way I would use those features. Please let me explain.
I currently work with 3 procedural languages: VB, C#, JavaScript (4 if you consider SQL stored procedures), which can be confusing at times, with their syntax being almost (but not totally) the same. I'd much prefer to use only one language - eg. C# on both .Net, on the client and in SQL stored procedures. That would save a lot of time looking up language details. I don't really want to learn another procedural language.
Also, I have only so much time and energy each day to learn new skills. I tend to use my time on skills that I believe will help me do a better job, impress my boss, boost my resume or get me a better hourly rate. Currently I'm focusing on the new features in the .Net platform (LINQ, WPF), because I know I'll be using those. Meanwhile, I also try to have a life outside IT.
If you find a way to enhance VB or C# with contracts, etc., I'll invest time today to learn all about it - because I'll be able to use it in my projects tomorrow at work.
Alternatively, if you could persuade Microsoft to implement contracts, nil tracking and enhanced asserts right in the next verrsions of the C# and VB languages, I would be grateful
Wishing you lots of success in your endeavors,
Matt