Designing a consistent language is *very* hard

Paulo Pinto pjmlp at progtools.org
Sat Apr 28 06:37:54 PDT 2012


On Saturday, 28 April 2012 at 12:32:17 UTC, Era Scarecrow wrote:
> On Saturday, 28 April 2012 at 11:42:19 UTC, Paulo Pinto wrote:
>> Rewriting seldom brings anything new. It almost like starting
>> from zero, without the benefit from all the bug fixes the
>> software has had along the years.
>>
>> The hours wasted porting to a new language, could be used 
>> adding
>> features to existing code base, or refactoring.
>
>  There are times where a full re-write is better than keeping 
> the old code. I'm rewriting my code for SmartMerger (TES3 
> project) from C to D, will probably be renamed to SmartMergeD). 
> I'm getting stuck more and more adding and rewriting portions 
> of code that are basically simple containers for different 
> types; like associative arrays and array searching of different 
> types.
>
>  It is quite refreshing to see how compact and simpler the code 
> is; And this is the first project I'm fully embracing OO. I 
> can't wait to see how D will look as it matures and the 
> compiler gets to a fully stable condition.

My statement is based in a few Fortune 500 projects, where I took 
part
in the migration project. Some of those took several years to 
complete,
and the only impact on the business was dropping the revenue.

But I do concede, that there are use cases where it makes sense.

--
Paulo




More information about the Digitalmars-d mailing list