Click here to Skip to main content
15,922,315 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: how hard to rewrite a legacy software from C++ to C#? Pin
RedDk6-Jan-24 10:25
RedDk6-Jan-24 10:25 
GeneralRe: how hard to rewrite a legacy software from C++ to C#? Pin
Nelek6-Jan-24 11:46
protectorNelek6-Jan-24 11:46 
GeneralRe: how hard to rewrite a legacy software from C++ to C#? Pin
obermd8-Jan-24 11:31
obermd8-Jan-24 11:31 
GeneralRe: how hard to rewrite a legacy software from C++ to C#? Pin
Nelek8-Jan-24 11:47
protectorNelek8-Jan-24 11:47 
GeneralRe: how hard to rewrite a legacy software from C++ to C#? Pin
jschell8-Jan-24 6:37
jschell8-Jan-24 6:37 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
Bruno van Dooren6-Jan-24 23:40
mvaBruno van Dooren6-Jan-24 23:40 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
Gary R. Wheeler7-Jan-24 4:36
Gary R. Wheeler7-Jan-24 4:36 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
MSBassSinger8-Jan-24 2:44
professionalMSBassSinger8-Jan-24 2:44 
In my experience of rewriting from one language into C#, there are a few principles I applied that helped me.

1 - Understand the requirements, architecture, and intent of the original code (which may have to be determined with only the original code at hand).

2 - Understand WHAT the original code is doing.

3 - In the new language (e.g. C#), determine how it best does what the original code did. Just translating code from original to new is a trap.

4 - What does the new language offer (including third party components if you want) that would be useful, that was not used for the original app with the original language?

5 - What new language architecture gives you the lowest total SDLC cost with the best acceptable performance, scalability, and support?

Apply these principles and you will avoid a myriad of booby-traps and sloughs of despond.

GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
Behzad Sedighzadeh8-Jan-24 4:55
Behzad Sedighzadeh8-Jan-24 4:55 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
obeobe8-Jan-24 5:48
obeobe8-Jan-24 5:48 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
Thornik8-Jan-24 6:13
Thornik8-Jan-24 6:13 
GeneralRe: how hard to rewrite a legacy software from C++ to C# in WinForm? Pin
jochance8-Jan-24 8:14
jochance8-Jan-24 8:14 
GeneralI did a thing. It's neat. Pin
honey the codewitch6-Jan-24 2:11
mvahoney the codewitch6-Jan-24 2:11 
GeneralRe: I did a thing. It's neat. Pin
Gary Stachelski 20216-Jan-24 4:32
Gary Stachelski 20216-Jan-24 4:32 
GeneralRe: I did a thing. It's neat. Pin
PIEBALDconsult6-Jan-24 5:41
mvePIEBALDconsult6-Jan-24 5:41 
GeneralRe: I did a thing. It's neat. Pin
honey the codewitch6-Jan-24 5:44
mvahoney the codewitch6-Jan-24 5:44 
GeneralRe: I did a thing. It's neat. Pin
PIEBALDconsult6-Jan-24 6:23
mvePIEBALDconsult6-Jan-24 6:23 
GeneralRe: I did a thing. It's neat. Pin
honey the codewitch6-Jan-24 6:32
mvahoney the codewitch6-Jan-24 6:32 
GeneralRe: I did a thing. It's neat. Pin
jschell8-Jan-24 6:47
jschell8-Jan-24 6:47 
GeneralRe: I did a thing. It's neat. Pin
honey the codewitch8-Jan-24 7:04
mvahoney the codewitch8-Jan-24 7:04 
GeneralRe: I did a thing. It's neat. Pin
honey the codewitch6-Jan-24 12:52
mvahoney the codewitch6-Jan-24 12:52 
GeneralRe: I did a thing. It's neat. Pin
PIEBALDconsult6-Jan-24 16:57
mvePIEBALDconsult6-Jan-24 16:57 
GeneralRe: I did a thing. It's neat. Pin
jochance8-Jan-24 8:18
jochance8-Jan-24 8:18 
GeneralRe: I did a thing. It's neat. Pin
PIEBALDconsult8-Jan-24 8:53
mvePIEBALDconsult8-Jan-24 8:53 
GeneralRe: I did a thing. It's neat. Pin
Southmountain6-Jan-24 6:06
Southmountain6-Jan-24 6:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.