VB.NET or C#.NET ???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Milan

    #1

    VB.NET or C#.NET ???

    Hello,

    I would like to ask you this question. I am experienced in programming
    in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
    hesitate whether to aim to VB or C#. Since I am familiar with VBA I
    would like to choose VB but I heart from my colleagues that VB is a
    "dead" language and it will probably not be included in the next
    versions of Visual Studio anymore. Their other objection against VB is
    that VB is not object-oriented language in fact and that it does not
    offer such possibilities in OOP as C# does. On the other hand they
    appreciate an ease of VB syntax.

    I have to add that I would like to use VB or C# as front-ends to large
    DBs placed on SQL server.

    Thank you for your opinions!

    Milan

  • Octavio Hernandez

    #2
    Re: VB.NET or C#.NET ???

    >> I heart from my colleagues that VB is a "dead" language and it will[color=blue][color=green]
    >> probably not be included in the next
    >> versions of Visual Studio anymore.[/color][/color]

    Totally false! VB.NET is as alive as C# and a first class priority for MS.
    [color=blue][color=green]
    >>Their other objection against VB is that VB is not object-oriented
    >>language in fact and that it does not
    >> offer such possibilities in OOP as C# does.[/color][/color]

    You could say that of "classic" VB, but certainly not of VB.NET. VB.NET is a
    full-fledged OOP language and offers all the possibilities C# offers in that
    respect.
    [color=blue][color=green]
    >> On the other hand they appreciate an ease of VB syntax.[/color][/color]

    Familiarity with VB syntax is usually a reason for selecting VB.NET over C#.

    Regards - Octavio


    Comment

    • S Shulman

      #3
      Re: VB.NET or C#.NET ???

      Hi Milan

      Who are your friends?

      It is difficult to tell you what to do but actually go on and say that
      sounds very unreasonable

      Shmuel Shulman

      "Milan" <milan_vaclavik @centrum.cz> wrote in message
      news:1139775796 .530146.256950@ g47g2000cwa.goo glegroups.com.. .[color=blue]
      > Hello,
      >
      > I would like to ask you this question. I am experienced in programming
      > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
      > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
      > would like to choose VB but I heart from my colleagues that VB is a
      > "dead" language and it will probably not be included in the next
      > versions of Visual Studio anymore. Their other objection against VB is
      > that VB is not object-oriented language in fact and that it does not
      > offer such possibilities in OOP as C# does. On the other hand they
      > appreciate an ease of VB syntax.
      >
      > I have to add that I would like to use VB or C# as front-ends to large
      > DBs placed on SQL server.
      >
      > Thank you for your opinions!
      >
      > Milan
      >[/color]


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: VB.NET or C#.NET ???

        "Milan" <milan_vaclavik @centrum.cz> schrieb:[color=blue]
        > I would like to ask you this question. I am experienced in programming
        > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
        > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
        > would like to choose VB but I heart from my colleagues that VB is a
        > "dead" language and it will probably not be included in the next
        > versions of Visual Studio anymore. Their other objection against VB is
        > that VB is not object-oriented language in fact and that it does not
        > offer such possibilities in OOP as C# does. On the other hand they
        > appreciate an ease of VB syntax.[/color]

        As others have already said, there is no reason to use a C-style language
        today any more to get things done. If you have a VB background, I suggest
        to turn to VB.NET and learn to read C#, which is often useful when dealing
        with code using .NET classes. VB.NET is at least as alive as C#.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        • Mark R. Dawson

          #5
          RE: VB.NET or C#.NET ???

          Hi Milan,
          VB.Net is definitely not a dead language. There is a much greater VB
          population out there than C# so it will not go away any time soon.

          When it comes to deciding between C# and VB.Net, really to make a jump
          from classic VB to VB.Net is probably just as great as moving from classic VB
          to C#, although VB and VB.Net share the same VB initials in order to program
          well in VB.Net you will need a totally different mindset.

          I personally prefer C# because VB syntax seems too cluttered to me and
          makes reading code difficult (obviously I am use to C# so that comment is a
          little biased). I also like C# because it is a lot less forgiving that
          VB.Net meaning it does not try to assume anything for you, I prefer this as
          you know what they say about assumptions.

          Mark Dawson.



          "Milan" wrote:
          [color=blue]
          > Hello,
          >
          > I would like to ask you this question. I am experienced in programming
          > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
          > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
          > would like to choose VB but I heart from my colleagues that VB is a
          > "dead" language and it will probably not be included in the next
          > versions of Visual Studio anymore. Their other objection against VB is
          > that VB is not object-oriented language in fact and that it does not
          > offer such possibilities in OOP as C# does. On the other hand they
          > appreciate an ease of VB syntax.
          >
          > I have to add that I would like to use VB or C# as front-ends to large
          > DBs placed on SQL server.
          >
          > Thank you for your opinions!
          >
          > Milan
          >
          >[/color]

          Comment

          • Terry Burns

            #6
            Re: VB.NET or C#.NET ???

            C# is more elegant as a language than vb.net in my opinion and I have
            noticed in the UK at least, that demand for C# coders far exceeds the demand
            for vb.net coders.

            --
            Terry Burns



            "Milan" <milan_vaclavik @centrum.cz> wrote in message
            news:1139775796 .530146.256950@ g47g2000cwa.goo glegroups.com.. .[color=blue]
            > Hello,
            >
            > I would like to ask you this question. I am experienced in programming
            > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
            > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
            > would like to choose VB but I heart from my colleagues that VB is a
            > "dead" language and it will probably not be included in the next
            > versions of Visual Studio anymore. Their other objection against VB is
            > that VB is not object-oriented language in fact and that it does not
            > offer such possibilities in OOP as C# does. On the other hand they
            > appreciate an ease of VB syntax.
            >
            > I have to add that I would like to use VB or C# as front-ends to large
            > DBs placed on SQL server.
            >
            > Thank you for your opinions!
            >
            > Milan
            >[/color]


            Comment

            • SpotNet

              #7
              Re: VB.NET or C#.NET ???


              Milan, learn both, they're pretty much of a muchness at the guts level, they
              differ (in a huge way) at the syntax (surface level). Learn one first at
              least, familiarise yourself with the .NET Framework in doing so, the other
              one will cascade your learning curve. VB will not become a dead language,
              well VB .NET anyway. VB 6.0 (also referred to VB .COM) is quickly becoming
              (become) a sunset technology. VB .NET is a fully fledged OO language that
              has the abilities of C# and visa versa.

              Your colleagues may be referring to VB .COM, or are still talk the MS is
              planning on phasing out VB rhetoric or, VB .NET has changed VB so much
              everyone is going down the C# road or, MS wants to wipe Java out and is
              pushing everyone to C#....etc. I can only say (personally) that this is
              allot of murmur and noise that tends to come out from grapevines.

              VBA may become obsolete in the next version of office??? I'm just saying
              that I don't really know. Personally I hope so, we'll see next office
              version. Keep your VBA skills for now as having the ability to develop in
              Excel is a very handy skill to have.

              As for DB front ends VB, C# there's allot of both out there, which ever one
              is required of you to do so then, so be it. Keep in mind the VB .NET, C# has
              unified programming.

              - SpotNet

              "Milan" <milan_vaclavik @centrum.cz> wrote in message
              news:1139775796 .530146.256950@ g47g2000cwa.goo glegroups.com.. .
              : Hello,
              :
              : I would like to ask you this question. I am experienced in programming
              : in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
              : hesitate whether to aim to VB or C#. Since I am familiar with VBA I
              : would like to choose VB but I heart from my colleagues that VB is a
              : "dead" language and it will probably not be included in the next
              : versions of Visual Studio anymore. Their other objection against VB is
              : that VB is not object-oriented language in fact and that it does not
              : offer such possibilities in OOP as C# does. On the other hand they
              : appreciate an ease of VB syntax.
              :
              : I have to add that I would like to use VB or C# as front-ends to large
              : DBs placed on SQL server.
              :
              : Thank you for your opinions!
              :
              : Milan
              :


              Comment

              • Mark Rae

                #8
                Re: VB.NET or C#.NET ???

                "Terry Burns" <me@mine.com> wrote in message
                news:eX5axgCMGH A.3708@TK2MSFTN GP09.phx.gbl...
                [color=blue]
                > I have noticed in the UK at least, that demand for C# coders far exceeds
                > the demand for vb.net coders.[/color]

                Absolutely correct, especially in the contract market. Simply put, although
                I can program in VB.NET if I have to, I have not had any need to do so for
                over two years now, and can't see that changing any time soon.

                I have not written a single line of VB.NET 2 code, nor do I have any
                intension of doing so.


                Comment

                • _AnonCoward

                  #9
                  Re: VB.NET or C#.NET ???


                  "Milan" <milan_vaclavik @centrum.cz> wrote in message
                  news:1139775796 .530146.256950@ g47g2000cwa.goo glegroups.com.. .
                  :
                  : Hello,
                  :
                  : I would like to ask you this question. I am experienced in programming
                  : in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
                  : hesitate whether to aim to VB or C#. Since I am familiar with VBA I
                  : would like to choose VB but I heart from my colleagues that VB is a
                  : "dead" language and it will probably not be included in the next
                  : versions of Visual Studio anymore. Their other objection against VB is
                  : that VB is not object-oriented language in fact and that it does not
                  : offer such possibilities in OOP as C# does. On the other hand they
                  : appreciate an ease of VB syntax.
                  :
                  : I have to add that I would like to use VB or C# as front-ends to large
                  : DBs placed on SQL server.
                  :
                  : Thank you for your opinions!


                  <sigh>


                  Your colleague is wrong. VB is hardly a "dead" language which the recent
                  enhancements MS made to the language in the 2.0 release of the framework
                  attest. Further, VB.net is as fully object oriented as C#. Can your
                  colleague give you any real world examples in C# that cannot be replicated
                  in VB (apart from being able to use "unsafe" code blocks)? Virtually
                  anything that can be coded in C# can be coded just as well in VB. Yes, there
                  are situations where C# brings some thing to the table that VB doesn't, but
                  the same can be said of VB with regards to C#.


                  At the end of the day, the choice between the languages largely comes down
                  to personal preference and background. I'm a VB6 programmer for example, so
                  it naturally I find VB.net preferable to C#. A Java and C/C++ programmer by
                  contrast would naturally prefer the C# way of doing things. Neither language
                  is necessarily better than that other, however. The real thing you'll need
                  to learn if you choose to use VB or C# is the framework. Both languages use
                  that framework and are fully interchangeable as long as you adhere to the
                  CLS (common language specification). Once you get a handle on that, the
                  language you use is for the most part irrelevant. Since you have a VBA
                  background and are therefore already familiar with the VB syntax, you'd
                  likely be more comfortable with VB. (That said, you wouldn't go wrong to be
                  at least familiar, if not competent, with both VB and C#.)


                  Now, from a career perspective, there does seem to be a bias towards C#
                  programmers over VB.net - if that is indeed so (and I believe it is), that
                  reflects nothing more than a market bias. VB programmers have long been
                  viewed as unprofessional and/or amateur programmers when compared to C/C++
                  (and more recently Java) programmers. Such an attitude is unfounded and ill
                  informed, but that does nothing to mitigate the fact that the attitude
                  persists. That, in my opinion, reinforces my earlier suggestion that at the
                  very least you become familiar with both languages.


                  Go with the language you prefer and don't worry about what your colleague is
                  telling you.


                  Ralf
                  --
                  --
                  ----------------------------------------------------------
                  * ^~^ ^~^ *
                  * _ {~ ~} {~ ~} _ *
                  * /_``>*< >*<''_\ *
                  * (\--_)++) (++(_--/) *
                  ----------------------------------------------------------
                  There are no advanced students in Aikido - there are only
                  competent beginners. There are no advanced techniques -
                  only the correct application of basic principles.


                  Comment

                  • Fred@fred.net

                    #10
                    Re: VB.NET or C#.NET ???

                    On 12 Feb 2006 12:23:16 -0800, "Milan" <milan_vaclavik @centrum.cz>
                    wrote:
                    [color=blue]
                    >Hello,
                    >
                    >I would like to ask you this question. I am experienced in programming
                    >in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
                    >hesitate whether to aim to VB or C#. Since I am familiar with VBA I
                    >would like to choose VB but I heart from my colleagues that VB is a
                    >"dead" language and it will probably not be included in the next
                    >versions of Visual Studio anymore. Their other objection against VB is
                    >that VB is not object-oriented language in fact and that it does not
                    >offer such possibilities in OOP as C# does. On the other hand they
                    >appreciate an ease of VB syntax.
                    >
                    >I have to add that I would like to use VB or C# as front-ends to large
                    >DBs placed on SQL server.
                    >
                    >Thank you for your opinions!
                    >
                    >Milan[/color]

                    VB is not dead. In particular VBA. But for enterprise level scalable
                    applications, a c# app, well crafted, would out perform the same VB
                    app, exactly as well crafted.

                    I have been testing run times for redundant routines like 2 nested for
                    loops, which would be order of n^2 , in other words, for every one of
                    these do this. c# appears to be faster. (console apps)

                    It's very hard to say since the CLR reduces (if you beleive the specs)
                    to bytecode your code that is then fed to the .Net runtime.

                    It may be just as likely that more specialzed languages emerge that
                    conform to the CLR. OOP languages unique to an industry. .Net has that
                    power.
                    Fred

                    Comment

                    • Bob Grommes

                      #11
                      Re: VB.NET or C#.NET ???

                      Milan,

                      You're obviously dealing with some code bigots -- and ignorant ones,
                      too. But language Nazis are one pragmatic reason to consider C#,
                      especially since the .NET platform is language-agnostic, anyway. No one
                      ever kicks sand in your face over C# (or any other C-family lanaguage,
                      really). But you will often be fighting an uphill battle about the
                      imagined inferiority or "toy status" of VB.NET (or any other Basic
                      dialect, really).

                      Surveys generally show a little better rates of pay for C# work, too.
                      Far too many companies don't realise that it's not "C# work" or "VB
                      work" -- it's CLR work -- .NET platform work. But you can use their
                      ignorance in your own favor by being familiar with the tools, languages,
                      buzzwords and processes they are fond of. You mustn't deprive your
                      direct reports of the talismans they surround themselves with.

                      Remember that the key thing is your skills as a developer, regardless of
                      the language -- particularly your skill at defining and solving
                      problems; and secondly, mastery of the platform(s) and API(s) you are
                      working with, regardless of language. Language comes in kind of a
                      distant third (at best) in true importance. Just because most companies
                      hire and recruit based on a simplistic "sack o'skills" model doesn't
                      mean it really matters in the real world.

                      My bottom-line advice -- learn both C# and VB.NET, and you'll be
                      comfortable with the languages used on 98% of all .NET projects.
                      Knowing one language influences your use of the other and improves your
                      understanding of the underlying CLR and .NET framework. And if you can
                      find the time, just for fun, learn Eiffel.NET or some other .NET-hosted
                      language. Learning new languages is one of the easier things you can do
                      to broaden your thinking and improve your marketability.

                      Best,

                      --Bob

                      Milan wrote:[color=blue]
                      > Hello,
                      >
                      > I would like to ask you this question. I am experienced in programming
                      > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
                      > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
                      > would like to choose VB but I heart from my colleagues that VB is a
                      > "dead" language and it will probably not be included in the next
                      > versions of Visual Studio anymore. Their other objection against VB is
                      > that VB is not object-oriented language in fact and that it does not
                      > offer such possibilities in OOP as C# does. On the other hand they
                      > appreciate an ease of VB syntax.
                      >
                      > I have to add that I would like to use VB or C# as front-ends to large
                      > DBs placed on SQL server.
                      >
                      > Thank you for your opinions!
                      >
                      > Milan
                      >[/color]

                      Comment

                      • Jeff S

                        #12
                        Re: VB.NET or C#.NET ???

                        If you want to read a *thorough* and relatively objective answer to your
                        question, I highly recommend the eBook at this link:
                        Desaware Inc. specializes in components and tools for Microsoft Visual Basic, Visual Basic .NET and C# Developers.


                        There is a small charge, but given the amount of time you might spend
                        pursuing a new language, it is worth it (IMO).

                        -HTH



                        "Milan" <milan_vaclavik @centrum.cz> wrote in message
                        news:1139775796 .530146.256950@ g47g2000cwa.goo glegroups.com.. .[color=blue]
                        > Hello,
                        >
                        > I would like to ask you this question. I am experienced in programming
                        > in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
                        > hesitate whether to aim to VB or C#. Since I am familiar with VBA I
                        > would like to choose VB but I heart from my colleagues that VB is a
                        > "dead" language and it will probably not be included in the next
                        > versions of Visual Studio anymore. Their other objection against VB is
                        > that VB is not object-oriented language in fact and that it does not
                        > offer such possibilities in OOP as C# does. On the other hand they
                        > appreciate an ease of VB syntax.
                        >
                        > I have to add that I would like to use VB or C# as front-ends to large
                        > DBs placed on SQL server.
                        >
                        > Thank you for your opinions!
                        >
                        > Milan
                        >[/color]


                        Comment

                        • Frank Rizzo

                          #13
                          Re: VB.NET or C#.NET ???

                          Fred@fred.net wrote:[color=blue]
                          > On 12 Feb 2006 12:23:16 -0800, "Milan" <milan_vaclavik @centrum.cz>
                          > wrote:
                          >
                          >[color=green]
                          >>Hello,
                          >>
                          >>I would like to ask you this question. I am experienced in programming
                          >>in VBA and I want to upgrade my knowledge to Visual Studio 2005 now. I
                          >>hesitate whether to aim to VB or C#. Since I am familiar with VBA I
                          >>would like to choose VB but I heart from my colleagues that VB is a
                          >>"dead" language and it will probably not be included in the next
                          >>versions of Visual Studio anymore. Their other objection against VB is
                          >>that VB is not object-oriented language in fact and that it does not
                          >>offer such possibilities in OOP as C# does. On the other hand they
                          >>appreciate an ease of VB syntax.
                          >>
                          >>I have to add that I would like to use VB or C# as front-ends to large
                          >>DBs placed on SQL server.
                          >>
                          >>Thank you for your opinions!
                          >>
                          >>Milan[/color]
                          >
                          >
                          > VB is not dead. In particular VBA. But for enterprise level scalable
                          > applications, a c# app, well crafted, would out perform the same VB
                          > app, exactly as well crafted.
                          >
                          > I have been testing run times for redundant routines like 2 nested for
                          > loops, which would be order of n^2 , in other words, for every one of
                          > these do this. c# appears to be faster. (console apps)[/color]

                          I would take exception to that. Why don't you post the code (both
                          vb.net and c#) and we'll disect it for you. Otherwise, you are full of it.

                          Comment

                          • Cor Ligthert [MVP]

                            #14
                            Re: VB.NET or C#.NET ???

                            Milan,

                            I think that the comments of your friends show why C# is in some places more
                            wanted.

                            Cor


                            Comment

                            • Hans Kesting

                              #15
                              Re: VB.NET or C#.NET ???

                              Just to repeat a remark I read here previously about the transfer from
                              VB6 to either VB.Net or C#:

                              When you come from a VB6 background it's easy to think of VB.Net as
                              "just VB6 with some syntax changes". This could frustrate you ("why did
                              they change this") and cause you to miss out on the big changes in the
                              language (such as real O.O.).
                              If you switch to C#, it's a different syntax. This will "feel" as a
                              different language so it's easier to also take up the bigger changes as
                              "just part of the transition".


                              Hans Kesting


                              Comment

                              Working...