Worst ideas/features in programming languages?

jmh530 john.michael.hall at gmail.com
Mon Oct 11 17:45:02 UTC 2021

On Monday, 11 October 2021 at 17:06:38 UTC, Johan wrote:
> [snip]
> - `unittest`. Clutters code reading, discourages extensive 
> testing (because of said clutter), discourages testing inside a 
> user's module, complicates runtime and compiler, framework 
> cannot be developed separate from language runtime, ...

Nothing prevents you from pulling out the unittests (except maybe 
documented ones) and putting them in a separate file or folder 
structure. In fact, it should probably be more commonly done...

More information about the Digitalmars-d mailing list