my team members are trying to cross compile a huge codebase (4100 forms, 9300 files)
from Power++ (an old C/C++ IDE made by Whatcom/Sybase ano 1999) to C#.
This codebase is very old and has a lot of issues with quality (copy and paste everywhere, spaghetti code, code smells, ...).
Everything started with a tool that converts Power++ forms to WinForms. (that worked surprisingly well)
But now they want to convert the whole C++ codebase to C# (there is still some manual work needed to make the C# code compile).
They think if everything is translated to C# their productivity will rise and they have a lot of time to improve the code.
What do you think about this method ?
Is it a good idea to build a 'new' software completely on legacy code ?
You can go and rewrite the app all you want. No, you're not going to find a "conversion tool" to convert the code.
The language isn't going to make you magically more productive. There's plenty of stuff in the .NET BCL that will save you from having to "re-invent the wheel" in places in your code, but the real benefit to productivity is going to be how you write your new code and your design choices.
This is your opportunity to simplify your code-base and fix stuff in your original code by rewriting it from scratch.
They think if everything is translated to C# their productivity will rise
Straight up management thinking, an application badly written 2 decades ago, run through a n% successful converter and expect the users to be more productive.
For a start if you ever get it to compile (after spending a year fiddling with conversion issues) management will then shelve the "improve the code" effort (a never ending proposition if there ever was one) because if it works don't f*** with it!
Spend the time and redesign the application to meet current requirements and code from the start. If you have 4000+ forms I will guarantee there are improvements your user base would like to be made.
Never underestimate the power of human stupidity -
I'm old. I know stuff - JSOP
Everyone seems to assume that "legacy code" was always designed badly from the start. A good pattern is a good pattern (design). Only the tools change. I prefer a Dremel over a chisel; most of the time. Fewer rough edges in the final product.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a limited search functionality at the moment (it'll try to match the text you type in one of the 3 fields that are indexed -company, staff contact, and director name).
I'm trying to find info about what would be the easiest method to implement a more sophisticated search (ideally that makes use of AI), like the one implemented by Google or Amazon on their website. It doesn't have to be so sophisticated, anything better than what I described above would do it. Ideally, the search should be able to guess what you're looking for based on your role, your portfolio of clients, and previous searches. It would be great if it could understand what you mean (i.e search query 'song la la la' that returns as result 'ATC -All around the world' on youtube. It would be great to implement vocal search as well.
But again it doesn't have to be that complex. Any info on where to look or which resources are readily available would be greatly appreciated. Do you know if there are (and what would be the best) search engines/AI libraries/API that are open source and that would fit this purpose? If this is not the right place to ask, on which other website or forum do you think should I ask for?
Thank you in advance
modified 17-Jun-21 12:07pm.
Last Visit: 31-Dec-99 18:00 Last Update: 25-Jul-21 3:48