Programming language for GIMP fork's rewrite
claptrap
clap at trap.com
Thu Jul 2 17:24:47 UTC 2020
On Thursday, 2 July 2020 at 16:09:10 UTC, Liu wrote:
> On Thursday, 2 July 2020 at 09:36:28 UTC, Mike James wrote:
>> https://forum.dlang.org/post/hinhcixficvfjwidaknc@forum.dlang.org
>>
>> -=mike=-
>
> I think rewrites can be valid if you switch from a
> buggy/verbose language like C/C++ to a more modern D/rust. You
> do more with less code and in the long term, you have a more
> clean code base where you can focus on solving the actual
> problem rather the thousands of undefined behaviors, verbosity
> of C/C++.
Yes if you can do the rewrite a bit at a time and make the code
more maintainable, more open to improvement and modification in
the future. So it's less a rewrite more a migration with future
proofing in mind.
But you have to be careful it's not "this code sucks so we'll
rewrite it in D and then it wont suck". It's perfectly feasible
to rewrite it from the ground up and it'll still suck.
More information about the Digitalmars-d
mailing list