Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. New Boss Equals Many Changes

New Boss Equals Many Changes

Scheduled Pinned Locked Moved The Lounge
csharpcollaborationhelpquestion
63 Posts 30 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Modnar

    Never used it but been told about SharpDevelop's inbuilt Converter http://www.icsharpcode.net/OpenSource/SD/Features.aspx[^] (various to various) or online: http://codeconverter.sharpdevelop.net/[^]

    Z Offline
    Z Offline
    Zhat
    wrote on last edited by
    #28

    Thanks

    1 Reply Last reply
    0
    • J JW38125

      I have been programming for over 50 years in 13 different programming languages and will always choose the language based on what are the requirements of the application. If it’s mathematical number crunching, then it’s FORTRAN. If it requires lots of bit level manipulations then use assembler, otherwise use what is the fastest and most stable and what the shop is most comfortable is with. Personally I use VB when I can. I feel it is very fast, efficient and stable. I think that if he insists on switching languages then maintain old applications in their current language(s), develop new in C#. I have managed large programming shops and his rule sucks. By the way; how long has he been out of college?:~

      The Old Guy

      Z Offline
      Z Offline
      Zhat
      wrote on last edited by
      #29

      Well, I've also been coding for many years and in several different languages. On every job I went to, there was the "favorite" langauge of choice, I didn't question it, I learned and embraced it and made it work the best I could, which the vast majority of the time worked well. Now, I've been here 3.5 years, we've been using VB.NET ever since it first came out and the team started doing development in the .NET framework. We're very comfortable with it, and it works for everything we've attempted. Now, our new director isn't actually new to the company, as we are part of a larger group with several other companies doing very similar things that we do, just in different geographic locations. He's been with our larger group for over 25 years, which is when he graduated from college if I understand correctly. With that said, there's no "final" decision. We spoke about it, he said that's what he wants to do, but we're not through with the descussion by any means. It's my job to provide good/bad reasons for doing new code in C# as well as trying to convert existing VB.NET code to C# and the pitfalls that can (and will) occur. It's input from you guys that give me good point of reasons when we do continue the discussion early next week.

      modified on Friday, June 25, 2010 11:02 AM

      1 Reply Last reply
      0
      • S S Houghtelin

        It's generally not a matter of if it can be done, in code all things are possible. Rather it is should it be, is it cost effective? Migrating code always introduces errors, even the most experienced programmer can introduce unintended consequences. Depending on the nature of the software application (I work in medical) will it require a complete review process? (..and lot's of time & money) If it does the same thing with little or no added benefit, the answer is NO! The risk does not warrant change for the sake of change, “If it ain’t broke, don’t fix it”

        Z Offline
        Z Offline
        Zhat
        wrote on last edited by
        #30

        S Houghtelin wrote:

        If it ain’t broke, don’t fix it

        Hehe, true. We'll see. Right now it's still in discussion, nothing final. MAybe we do new code in C#, no big deal. But conversion of existing will be further discussed, as some of those app's took years to write and get to the point where they are doing exactly what we need, as well as the fact they are major function applications that our business relies on.

        1 Reply Last reply
        0
        • Z Zhat

          Thanks. I'll look at the Sharp Development converter.

          U Offline
          U Offline
          User 3859823
          wrote on last edited by
          #31

          Heres a link to make life easier: http://www.icsharpcode.net/OpenSource/SD/[^]

          1 Reply Last reply
          0
          • Z Zhat

            So, my team (I’m the programming manger) has been developing Web/Windows based applications using, dare I say…VB.NET (go ahead, say what you want, we like it, it does what we need it to do, and our end users/customers absolutely love what we do for them, so let the jokes fly if you must… :) ). Anyway, we just got a new Director, and his first mandate is to stop all VB.NET development and start doing it in C# (something about his prior team not being able to do something in VB.NET, like a web service, so they just switched to C#). Good news is that my team can actually code in either, though we’re much better with VB.NET so any new development won’t be too difficult. BUT! Our existing code/applications, some of which took years to write and get to the point of where they are today won’t be so much fun. So, is there any reliable tool(s) out there, that folks have actual experience with, that we can use to convert or assist us in conversion? I see plenty in my Google search, but have no personal experience. My team is small, yet we produce a high quantity (as well as very high quality) of projects for our end users and have a running list to keep us busy for a very long time. We view that as a slow down to that process (yet we don’t have any problem switching as we see either one as a viable solution for our development efforts). Thanks in advance.

            C Offline
            C Offline
            CDMTJX
            wrote on last edited by
            #32

            I suppose you've tried this, but it costs money / resource to convert working programs from VB to C#. They will not work the first time as they did before. Perhaps not the 2nd time either. You will likely get customer complaints about changes in behavior...

            1 Reply Last reply
            0
            • Z Zhat

              Yep, which is why I'm asking if anyone has experience. I'm not ready to just dive in blindly and convert some very large projects from scratch, while our users are expecting new applications...

              E Offline
              E Offline
              Eaverae
              wrote on last edited by
              #33

              Actually I had a similair experience a few years back. It took me well over 2,5 years to fully convert an asp.net 1.1(vb.net) application to a asp.net 3.5 (C#) successor. However, I had to convert the entire application. For my basic translation I used sharpdevelop [^]; this has a built in converter. Also, I used online conversion tools, as there are many available [^]. Hope this helps!

              Z 1 Reply Last reply
              0
              • Z Zhat

                Well, he actually hasn't started officially yet, just made a visit and we had brief conversation. But, the intention I'm seeing is that all NEW code first, followed by existing code later.

                B Offline
                B Offline
                BrainiacV
                wrote on last edited by
                #34

                My experience has been that new code will use the language du jour, but older systems will never get converted. What's the ROI? And you're doing a lot of running just to stay in place.

                Psychosis at 10 Film at 11

                Z 1 Reply Last reply
                0
                • Z Zhat

                  As funny as that is, this guy is fairly sharp (no pun intended), but he's not a true hands on developer, where as my group, including myself, live in code all day (I just have to add the extra responsibilities of manging at the same time). I didn't have time to ask him for details but we'll discuss this again.

                  M Offline
                  M Offline
                  MattRhoades
                  wrote on last edited by
                  #35

                  I don't intend to be mean sounding, but honestly, he sounds like a fool. Who would walk into a new job and for no good reason say, re-write everything, or switch languages so that now we have two languages to support? What's the business benefit? Makes no sense. I can't imagine what it is, but if there is one very specific thing you can't do with VB.NET that you can in C#, just write that one very specific thing in C# and move on. Re-writing working code just for sake of switching languages not only offers zero benefit to the business, but it costs the business time and money. I would fire that guy before he even started just for suggesting it, it's irresponsible. I write code and I manage large development projects and what I've found is, ask yourself a simple question when making decisions like this... could I stand up in a board meeting and explain why this decision was made and how it will ultimately benefit the company? If not, don't do it.

                  Z 1 Reply Last reply
                  0
                  • Z Zhat

                    So, my team (I’m the programming manger) has been developing Web/Windows based applications using, dare I say…VB.NET (go ahead, say what you want, we like it, it does what we need it to do, and our end users/customers absolutely love what we do for them, so let the jokes fly if you must… :) ). Anyway, we just got a new Director, and his first mandate is to stop all VB.NET development and start doing it in C# (something about his prior team not being able to do something in VB.NET, like a web service, so they just switched to C#). Good news is that my team can actually code in either, though we’re much better with VB.NET so any new development won’t be too difficult. BUT! Our existing code/applications, some of which took years to write and get to the point of where they are today won’t be so much fun. So, is there any reliable tool(s) out there, that folks have actual experience with, that we can use to convert or assist us in conversion? I see plenty in my Google search, but have no personal experience. My team is small, yet we produce a high quantity (as well as very high quality) of projects for our end users and have a running list to keep us busy for a very long time. We view that as a slow down to that process (yet we don’t have any problem switching as we see either one as a viable solution for our development efforts). Thanks in advance.

                    A Offline
                    A Offline
                    agolddog
                    wrote on last edited by
                    #36

                    First, I'll agree with the others that this should be a go-forward process, with conversion or legacy applications coming at some future point (if at all). The truth is, the syntax of the language in which you're coding is not the problem. Either solutions are well-designed or not, which is more about the process of building the applications than it is about the language. One thing to keep in mind, though, is this is an excellent chance to refactor. I'd start having my team think about and start maintaining a list of those things which they've always wanted to work out. We all look back on code we've written (X time period) ago and say, "What crap! What was I thinking?" Take advantage of this opportunity to rework some of that.

                    Z 1 Reply Last reply
                    0
                    • Z Zhat

                      So, my team (I’m the programming manger) has been developing Web/Windows based applications using, dare I say…VB.NET (go ahead, say what you want, we like it, it does what we need it to do, and our end users/customers absolutely love what we do for them, so let the jokes fly if you must… :) ). Anyway, we just got a new Director, and his first mandate is to stop all VB.NET development and start doing it in C# (something about his prior team not being able to do something in VB.NET, like a web service, so they just switched to C#). Good news is that my team can actually code in either, though we’re much better with VB.NET so any new development won’t be too difficult. BUT! Our existing code/applications, some of which took years to write and get to the point of where they are today won’t be so much fun. So, is there any reliable tool(s) out there, that folks have actual experience with, that we can use to convert or assist us in conversion? I see plenty in my Google search, but have no personal experience. My team is small, yet we produce a high quantity (as well as very high quality) of projects for our end users and have a running list to keep us busy for a very long time. We view that as a slow down to that process (yet we don’t have any problem switching as we see either one as a viable solution for our development efforts). Thanks in advance.

                      N Offline
                      N Offline
                      Narud Shiro
                      wrote on last edited by
                      #37

                      Hi Zhat. I faced the same problem any years ago, and this online tool was pretty helpfull to overcome that issue. In some cases the result code may need a little corrections, but nothing out of this world. http://converter.telerik.com Let me know if it results as usefull for your team as it was for me. Best regards.

                      Z 1 Reply Last reply
                      0
                      • Z Zhat

                        So, my team (I’m the programming manger) has been developing Web/Windows based applications using, dare I say…VB.NET (go ahead, say what you want, we like it, it does what we need it to do, and our end users/customers absolutely love what we do for them, so let the jokes fly if you must… :) ). Anyway, we just got a new Director, and his first mandate is to stop all VB.NET development and start doing it in C# (something about his prior team not being able to do something in VB.NET, like a web service, so they just switched to C#). Good news is that my team can actually code in either, though we’re much better with VB.NET so any new development won’t be too difficult. BUT! Our existing code/applications, some of which took years to write and get to the point of where they are today won’t be so much fun. So, is there any reliable tool(s) out there, that folks have actual experience with, that we can use to convert or assist us in conversion? I see plenty in my Google search, but have no personal experience. My team is small, yet we produce a high quantity (as well as very high quality) of projects for our end users and have a running list to keep us busy for a very long time. We view that as a slow down to that process (yet we don’t have any problem switching as we see either one as a viable solution for our development efforts). Thanks in advance.

                        B Offline
                        B Offline
                        Battlehammer
                        wrote on last edited by
                        #38

                        You could always hire more developers, like me. :)

                        1 Reply Last reply
                        0
                        • E Eaverae

                          Actually I had a similair experience a few years back. It took me well over 2,5 years to fully convert an asp.net 1.1(vb.net) application to a asp.net 3.5 (C#) successor. However, I had to convert the entire application. For my basic translation I used sharpdevelop [^]; this has a built in converter. Also, I used online conversion tools, as there are many available [^]. Hope this helps!

                          Z Offline
                          Z Offline
                          Zhat
                          wrote on last edited by
                          #39

                          It helps greatly, thanks. I'm hoping NOT to have to do this conversion, and at worse just start all new code in C# vice VB.NET. However, I need to at least plan for having to convert, and determine the pitfals so I can further discuss this with him next week.

                          1 Reply Last reply
                          0
                          • B BrainiacV

                            My experience has been that new code will use the language du jour, but older systems will never get converted. What's the ROI? And you're doing a lot of running just to stay in place.

                            Psychosis at 10 Film at 11

                            Z Offline
                            Z Offline
                            Zhat
                            wrote on last edited by
                            #40

                            BrainiacV wrote:

                            What's the ROI?

                            None. But, there's the issue of maintaining two seperate code bases, vice 1, and maybe that's part of what's driving him. This isn't a final decision yet however so maybe in the end we won't have to worry about conversion of existing code.

                            P 1 Reply Last reply
                            0
                            • M MattRhoades

                              I don't intend to be mean sounding, but honestly, he sounds like a fool. Who would walk into a new job and for no good reason say, re-write everything, or switch languages so that now we have two languages to support? What's the business benefit? Makes no sense. I can't imagine what it is, but if there is one very specific thing you can't do with VB.NET that you can in C#, just write that one very specific thing in C# and move on. Re-writing working code just for sake of switching languages not only offers zero benefit to the business, but it costs the business time and money. I would fire that guy before he even started just for suggesting it, it's irresponsible. I write code and I manage large development projects and what I've found is, ask yourself a simple question when making decisions like this... could I stand up in a board meeting and explain why this decision was made and how it will ultimately benefit the company? If not, don't do it.

                              Z Offline
                              Z Offline
                              Zhat
                              wrote on last edited by
                              #41

                              MachineGun wrote:

                              I don't intend to be mean sounding

                              No offense taken, you make valid points. This isn't a done deal, but an ongoing discussion between him and I, although he seemed pretty set on doing all new code in C#, the conversion of existing code is yet to be final. This new director really isn't new to our company, he's been here for over 25 years, at a "sister" organization. He's already done this at his other place, and apparently could justify the effort, at least for those folks, but he is very good at what he does. Our's is a different beast however, but again, the conversion of existing code isn't final, I'm just trying to get a grasp on what tools are out there in case I do have to make it happen.

                              1 Reply Last reply
                              0
                              • Z Zhat

                                So, my team (I’m the programming manger) has been developing Web/Windows based applications using, dare I say…VB.NET (go ahead, say what you want, we like it, it does what we need it to do, and our end users/customers absolutely love what we do for them, so let the jokes fly if you must… :) ). Anyway, we just got a new Director, and his first mandate is to stop all VB.NET development and start doing it in C# (something about his prior team not being able to do something in VB.NET, like a web service, so they just switched to C#). Good news is that my team can actually code in either, though we’re much better with VB.NET so any new development won’t be too difficult. BUT! Our existing code/applications, some of which took years to write and get to the point of where they are today won’t be so much fun. So, is there any reliable tool(s) out there, that folks have actual experience with, that we can use to convert or assist us in conversion? I see plenty in my Google search, but have no personal experience. My team is small, yet we produce a high quantity (as well as very high quality) of projects for our end users and have a running list to keep us busy for a very long time. We view that as a slow down to that process (yet we don’t have any problem switching as we see either one as a viable solution for our development efforts). Thanks in advance.

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #42

                                I wouldn't recommend that you necessarily convert your existing code to C#, why not just write C# going forward and keep the VB.Net code as-is? -Max

                                Z 1 Reply Last reply
                                0
                                • N Narud Shiro

                                  Hi Zhat. I faced the same problem any years ago, and this online tool was pretty helpfull to overcome that issue. In some cases the result code may need a little corrections, but nothing out of this world. http://converter.telerik.com Let me know if it results as usefull for your team as it was for me. Best regards.

                                  Z Offline
                                  Z Offline
                                  Zhat
                                  wrote on last edited by
                                  #43

                                  Thanks, I'll take a look. :)

                                  1 Reply Last reply
                                  0
                                  • A agolddog

                                    First, I'll agree with the others that this should be a go-forward process, with conversion or legacy applications coming at some future point (if at all). The truth is, the syntax of the language in which you're coding is not the problem. Either solutions are well-designed or not, which is more about the process of building the applications than it is about the language. One thing to keep in mind, though, is this is an excellent chance to refactor. I'd start having my team think about and start maintaining a list of those things which they've always wanted to work out. We all look back on code we've written (X time period) ago and say, "What crap! What was I thinking?" Take advantage of this opportunity to rework some of that.

                                    Z Offline
                                    Z Offline
                                    Zhat
                                    wrote on last edited by
                                    #44

                                    Thanks. As far as new code, no problem doing C#, we can easily adapt and make that happen moving forward. Also, we do have some small number of "legacy" app's, written in VB6 that we have to convert due to business reasons, but we've already planned on just rewritting those from scratch, not just "converting" them, so basically that's new code as well...it's the large number of current app's that are in production which I'm concerned, and therefore asking about. Not firm decision has been made yet, just preparing for it is all.

                                    1 Reply Last reply
                                    0
                                    • Z Zhat

                                      Well, he actually hasn't started officially yet, just made a visit and we had brief conversation. But, the intention I'm seeing is that all NEW code first, followed by existing code later.

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #45

                                      Your new boss has a lot to learn. Even though VB.Net and C# both compile to CIL, he's going to find that converting the existing system to C# just because he "doesn't like" VB.Net is going to be an enormous drain on your productivity. About 4 years back we had a boss here that was of that mind set. Come to think of it, MOST of the bosses we've had have been of that mindset. Heh. Anyway ... about 5 years ago the latest "boss" declared that we were going to get rid of all the legacy VB6 code and convert it to C#. Well ... as you might guess here we are 5 years later and the balance of VB6 to C# is approximately the same as it was. Why? Simply because the amount of effort required to completely convert existing subsystems to a completely different language is TOUGH! If you are doing any real development or servicing a client base, you are more concerned with fixing bugs and adding features than you are in wasting time just rewriting code because the boss doesn't "like the language". Tell your boss for me that his idea is - shall we say, unreasonable. (I was going to have you tell him he's "nuts" but I don't think that would go over too well in your position. :-)) If you want to use C# going forward, that's fine. The two languages co-exist perfectly. There is absolutely no reason, NONE, to convert functional commercial code from one language to another within .Net. I, too, am a "converted" VB developer - I only write new stuff in C# now. However, I have about 500,000 lines of VB6 and VB.Net code I'm responsible for in an enterprise application that serves 1400 clients. Your boss has absolutely NO CLUE how much lost productivity a rewrite of your VB.Net code in C# just because he "doesn't like VB.Net" will cost. If he has any concern for your department's performance metrics (and what manager doesn't?) you must convince him of this. Think you have a big bug list right now? It will grow by an order-of-magnitude if you convert functional, tested code from one language to another. VB.Net and C# are ver similar, yes - but the paradigm of the code is different. Many, many bugs will be introduced and for absolutely no sustainable business reason. Don't even let him START that project. It is a disaster waiting to happen. -Max

                                      modified on Friday, June 25, 2010 11:30 AM

                                      K 1 Reply Last reply
                                      0
                                      • L Lost User

                                        I wouldn't recommend that you necessarily convert your existing code to C#, why not just write C# going forward and keep the VB.Net code as-is? -Max

                                        Z Offline
                                        Z Offline
                                        Zhat
                                        wrote on last edited by
                                        #46

                                        Well, two code bases is 1 thing, but again, I got some pretty shrp people, so that's minor. We'll see after we continue the discussion.

                                        L 1 Reply Last reply
                                        0
                                        • Z Zhat

                                          Thanks, yes I saw that online, tried some simple code conversions, but couldn't say how well it might perform until I run some heavy code through it. But there are several other converters out there, both free and for purchase. We'll just keep testing as best we can until a formal decision has been made to actually convert our existing code. Hopefully he'll stay focused on new code and leave conversion alone.

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #47

                                          Just don't do it. Period. Leave your functional code base alone. See my other post. -Max

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups