Re:React created roadblocks in our enterprise app
by Spivak on Friday January 22, 2021 @02:31PM
(#25875289)
I mean for a greenfield project sure but a port of an existing large application that is already coded in a specific style you likely want to preserve as much of that as possible to make the translation more mechanical.
[ Parent
| on HN ]
Re:React created roadblocks in our enterprise app
by majormajor on Friday January 22, 2021 @02:42PM
(#25875412)
If you're porting between two languages/frameworks with radically different approaches, preserving the original project's approach in the new code is going to give you something that's probably worse than the original!
Now when you hire someone new you're going to be looking for React experience but then having to re-train them to think in .NET, or looking for .NET experience but training them to write React... and any time you have dependency upgrades, you're gonna be fighting more impedance mismatches.
Most tech debt that slows down feature development has more to do with the code structure than with the language or framework, so if you're intent on preserving the structure and style I don't know that you should be doing a rewrite at all!
Re:React created roadblocks in our enterprise app
by cratermoon on Friday January 22, 2021 @03:04PM
(#25875680)
As the old saying goes, you can write FORTRAN in any programming language: https://blog.codinghorror.com/you-can-write-fortran-in-any-l...
Re:React created roadblocks in our enterprise app
by bluefirebrand on Friday January 22, 2021 @03:20PM
(#25875881)
If you're aiming for code reuse don't rewrite. Refactor.