Click here to Skip to main content
14,356,475 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: New alternative to Bitcoin uses negligible energy Pin
Nelek15-Oct-19 22:22
protectorNelek15-Oct-19 22:22 
News“BriansClub” hack rescues 26M stolen cards Pin
Kent Sharkey15-Oct-19 11:45
staffKent Sharkey15-Oct-19 11:45 
NewsHow much time do developers spend actually writing code? Pin
Kent Sharkey15-Oct-19 10:30
staffKent Sharkey15-Oct-19 10:30 
GeneralRe: How much time do developers spend actually writing code? Pin
Nelek15-Oct-19 22:18
protectorNelek15-Oct-19 22:18 
GeneralRe: How much time do developers spend actually writing code? Pin
#realJSOP16-Oct-19 2:22
mve#realJSOP16-Oct-19 2:22 
GeneralRe: How much time do developers spend actually writing code? Pin
Greg Utas16-Oct-19 4:53
professionalGreg Utas16-Oct-19 4:53 
GeneralRe: How much time do developers spend actually writing code? Pin
  Forogar  16-Oct-19 5:58
professional  Forogar  16-Oct-19 5:58 
GeneralRe: How much time do developers spend actually writing code? Pin
#realJSOP16-Oct-19 6:35
mve#realJSOP16-Oct-19 6:35 
I'm working on code that is seven years old, and was written with now long-outdated libraries (for instance, Kendo UI when it was still free), using ASP.Net. Part of the problem is that someone in the distant past thought it would be a good idea to combine kendo ui and jquery into a single MINIFIED code file. This means that we cannot update either the Kendo stuff OR jquery, without possibly causing massive side effects, because...

This composite file is used across more than a dozen (web) apps. If we try to update ANYTHING in this file, we would descend into regression testing hell - so we leave it the hell alone, and simply deal with the fact that we're using a severely outdated version of jquery (and Kendo).

The backend is even more exciting - the original sql was developed with SQL 2005, and some of the tables have sql code in the columns, and one table has over 120 columns that are added to when necessary (which happens every few months). We have a job that runs a stored proc which itself runs stored procs defined in a table. This makes deployments exciting because we have to update that table's data quite often.

To add to the fun, we use a home-grown DAL via windows services installed on the web server. The team lead wants to get rid of this mechanism because it adds complexity to the apps, and to deployment of those apps.

The flagship app has been worked on over the last seven years by over a dozen different contractors who never bothered to ask if code was already available/written that they could use in the common assemblies, and as a result came up with their own "solutions", and cowboy code is evident throughout the code base.

Finally, after seven years of experience, we know what kind of changes we will be making, and where, so we can now redesign the back-end (that's where 95% of our changes are made) to be more efficient and maintainable.

A rewrite is necessary *for every app*. That is not an exageration.

To that end, I developed (on my own time) a MVC5 project template that takes care of most of the minutia that most/all of our apps deal with, makes deployments simpler, and uses the latest versions of various libraries. I've also created tools to go along with it that help the lift-and-shift processes faster/easier to deal with. It's all right there, ready to be put to use when the team lead says "go".

---

Rewrites can be executed with a solid, dedicated team of devs that are already familiar with the legacy system and are willing to put in the extra hours, despite what management dictates or pays for. A properly designed and managed architecture makes refactoring a simpler process when it needs to happen. It can be done, and it can be done cost-effectively. If the rewrite is a success, management can (and should) award the team with bonuses and/or time off as performance-driven compensation, especially if the team spent personal time working on the product. In other words, trust and support the developers. They're the reason the company is making money.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: How much time do developers spend actually writing code? Pin
Dan Neely17-Oct-19 3:39
memberDan Neely17-Oct-19 3:39 
GeneralRe: How much time do developers spend actually writing code? Pin
#realJSOP17-Oct-19 4:05
mve#realJSOP17-Oct-19 4:05 
NewsAnnouncing .NET Core 3.1 Preview 1 Pin
Kent Sharkey15-Oct-19 10:30
staffKent Sharkey15-Oct-19 10:30 
GeneralRe: Announcing .NET Core 3.1 Preview 1 Pin
Nelek15-Oct-19 22:17
protectorNelek15-Oct-19 22:17 
NewsMicrosoft says .NET Framework porting project is finished: If your API's not on the list, it's not getting in Pin
Kent Sharkey15-Oct-19 10:15
staffKent Sharkey15-Oct-19 10:15 
GeneralRe: Microsoft says .NET Framework porting project is finished: If your API's not on the list, it's not getting in Pin
#realJSOP16-Oct-19 2:30
mve#realJSOP16-Oct-19 2:30 
GeneralRe: Microsoft says .NET Framework porting project is finished: If your API's not on the list, it's not getting in Pin
Dan Neely16-Oct-19 4:28
memberDan Neely16-Oct-19 4:28 
NewsMicrosoft to start nagging Windows 7 Pro users about January 2020 end of support deadline Pin
Kent Sharkey15-Oct-19 10:00
staffKent Sharkey15-Oct-19 10:00 
GeneralRe: Microsoft to start nagging Windows 7 Pro users about January 2020 end of support deadline Pin
Nelek15-Oct-19 22:16
protectorNelek15-Oct-19 22:16 
GeneralRe: Microsoft to start nagging Windows 7 Pro users about January 2020 end of support deadline Pin
#realJSOP16-Oct-19 2:32
mve#realJSOP16-Oct-19 2:32 
NewsOpenAI’s AI-powered robot learned how to solve a Rubik’s cube one-handed Pin
Kent Sharkey15-Oct-19 10:00
staffKent Sharkey15-Oct-19 10:00 
NewsThe lines of code that changed everything Pin
Kent Sharkey15-Oct-19 9:00
staffKent Sharkey15-Oct-19 9:00 
GeneralRe: The lines of code that changed everything Pin
#realJSOP16-Oct-19 3:04
mve#realJSOP16-Oct-19 3:04 
GeneralRe: The lines of code that changed everything Pin
Richard Deeming16-Oct-19 9:17
mveRichard Deeming16-Oct-19 9:17 
NewsResearchers find bug in Python script may have affected hundreds of studies Pin
Kent Sharkey15-Oct-19 8:30
staffKent Sharkey15-Oct-19 8:30 
GeneralRe: Researchers find bug in Python script may have affected hundreds of studies Pin
Dar Brett15-Oct-19 15:27
memberDar Brett15-Oct-19 15:27 
News2,500 more MS-DOS games playable at the archive Pin
Kent Sharkey14-Oct-19 12:15
staffKent Sharkey14-Oct-19 12:15 

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.