CSLA 2 ... C# vs VB.NET

CSLA 2 ... C# vs VB.NET

Old forum URL: forums.lhotka.net/forums/t/3618.aspx


ravipillala posted on Saturday, September 29, 2007

Hello there,

I'm new to CSLA world. I'm very sorry for asking a dumb question.

Is there any feature or functionality difference between CSLA 2.x C# version and VB.NET version?

I hope both the versions does have same kind of features and functionality.

Thanks

Ravz

 

JoeFallon1 replied on Saturday, September 29, 2007

As you know - Rocky is a reknowned expert in VB.

So the VB version has all the good stuff in it.  (Just kidding.)

In fact, they are identical.

Although Rocky had to learn how to add semi-colons and curly braces to VB in order to get C# code to run.

Ok - just kidding again. Rocky actually learned C# style coding so that it is an excellent example of how to write good code.

Rocky tries very hard to keep the 2 versions in synch. In fact, the latest eBook (released yesterday) came out with the C# code first. The VB version of the book will take a few more days as Rocky re-learns his first language.

Joe

 

 

RockfordLhotka replied on Sunday, September 30, 2007

The two versions are interchangeable. Literally. In fact, the unit tests are one set of tests that test both framework versions, just to make sure they are interchangeable.

And Joe, VB wasn't my first language Wink [;)]

I think it goes like this:

  1. Integer AppleSoft
  2. Floating Point AppleSoft
  3. Apple Pascal (pretty "pure" Pascal)
  4. VAX Pascal (Pascal, but with a lot of custom VAX features)
  5. VAX Macro Assembler (one of the coolest assemblers ever built)
  6. C (Aztec compiler on the Commodore 64)
  7. VAX FORTRAN
  8. DCL (VAX shell language)
  9. Some simulation language with a 4 letter acronym/name
  10. A math-oriented language that could do calculus - again, don't remember the name
  11. COBOL (thankfully only in school - never for real)
  12. RPG 3 (ugh! I wrote a Pascal tool to generate my RPG)
  13. Turbo Pascal (like Pascal, but ever so much moreso)
  14. VAX Basic (perhaps still the most powerful Basic I ever used)
  15. Modula II (Pascal on steroids)
  16. VAX C++ (a second class language on the VAX, but still interesting)
  17. GC++ (much easier on Unix than on the VAX)
  18. Excel macro language (pre-VBA)
  19. Postscript (I really wrote PS programs by hand, insane but true)
  20. True Basic (write once, run everywhere - for real!)
  21. Visual Basic 1.0-6.0
  22. rexx (arexx actually - on the Amiga)
  23. awk (gnu awk on Unix, the VAX and DOS)
  24. VBscript (yes, this really is totally different from VB itself!)
  25. VB .NET, later VB 2005, now VB 9
  26. C# 1.0-3.0
  27. XAML

I've also dabbled in some other languages like Oberon, Java, the FlexWiki script language (a functional programming language), etc.

Also, I wonder if Windows Workflow (WF) qualifies as a language. It is XAML-based, so perhaps it fits under XAML.

Note that HTML isn't in the list. It isn't a real language, sorry. A markup language to be sure, but not a programming language. If we count HTML here, then all the ESC sequence programmong from my VAX days should count, and perhaps all the control markup codes from my C64 word processor should count too Smile [:)]

A long time ago I blogged about my view that any decent programmer should know at least two languages from two different language families. I strongly believe that is true. Languages come and go, but the cool features from each language family provide a conceptual base that allows people to be adaptible over time. If you only know C-style or Basic-style languages, you are crippling your understanding of computing and ultimately your career.

Copyright (c) Marimer LLC