Partager via


Useful++

It's often the case that i need (or want) to see how something is done inside VB.  However, whenever i start editing in VB i realize how much the language confuses me and how i'm always tripping up over the language.  As a tribute to the VB team, the work they've done in 2005 to help correct your mistakes is incredibly helpful, however i still run into problems.  Luckily, there's now a service available that will translate C# to VB (or vice versa) on the fly.  i.e. as you're typing in C# the equivalent VB is shown below.  Very very helpful for when you've forgotten exactly how a certain language construct works in the opposite language.  Now all i need is a new version that output to the new managed C++ syntax which i'm always forgetting.

            

The tool is available here: https://www.carlosag.net/Tools/CodeTranslator/Default.aspx

Comments

  • Anonymous
    April 03, 2005
    Yeah. I would also add that VB developers must be more better in parsing code with their eyes. I do not really mind for the ; but the { } just make it so much easier for me to see the scope as its not drown in the verbosity.
  • Anonymous
    April 03, 2005
    The comment has been removed
  • Anonymous
    April 04, 2005
    Does this mean that C# is going to support indexed properties in 05?
  • Anonymous
    April 04, 2005
    Brendon: "Does this mean that C# is going to support indexed properties in 05? "

    There is a snippet included in VS2005 that will allow you to make named indexers in C# if that's something you'd like to do.
  • Anonymous
    April 05, 2005
    Hey Cyrus

    I love your blog. Please be careful with banding about the word "useful" with software!
    We have used youseful software since 1996. Youseful++ is not a term to us. In fact we had to write MSN about their slogan "More useful everyday"!

    Joe Mele