The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Language style - are all .NET languages the same?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jonathan Cogley

Posts: 56
Nickname: thycotic
Registered: Dec, 2004

Jonathan Cogley is the founder of Thycotic Software Ltd, a C# MVP and TDD evangelist.
Language style - are all .NET languages the same? Posted: May 23, 2005 9:00 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Jonathan Cogley.
Original Post: Language style - are all .NET languages the same?
Feed Title: Jonathan Cogley's Blog
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jcogley/Rss.aspx
Feed Description: C#, Test Driven Development, Remote Scripting, CShark! :)
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jonathan Cogley
Latest Posts From Jonathan Cogley's Blog

Advertisement

Thycotic has recently engaged on a consulting project that is completely VB.NET.  This is not our usual (C#) stomping ground so there are plenty of opportunities for us to learn new things and make sure that we steer clear of the religious arguments!  I have been developing primarily in C-style languages for most of my career so the transition has been interesting.

While consulting at the BBC a number of years back, I was fortunate to cross paths with Karen Bearkley - an accomplished Perl developer who had come to Perl from C.  She often commented how important it is to not write Perl in a C style but rather to take advantage of the diversity of the language and its unique constructs.  If you don't write in the flavor of the language you will be forcing your pen rather than letting it flow ...

This got me thinking about our C# to VB.NET transition ...

  • Will our VB.NET code look like a C# developer wrote it?
  • Does the framework really level all .NET languages?
  • Is there still enough diversity to make each unique?

There must be some truth to this idea even in .NET since we have adopted some new standards which feel somewhat C#-ish to me:

  • Never use the root namespace - always declare your namespace in each type
  • Adding overridable to all methods (or was this our Java hold over?)
  • Option Strict On and Option Explicit On
  • Never use the Microsoft.VisualBasic namespace
  • Still be picky about exact case
  • Use a refactoring tool (CodeRush/Refactor Pro! supports VB.NET)

What do find when you move between .NET languages?

Read: Language style - are all .NET languages the same?

Topic: Initializing Earth....Right in your hands :-) Previous Topic   Next Topic Topic: New Site Design

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use