code folding

XavierAP via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 13 21:16:49 PDT 2017


On Tuesday, 14 March 2017 at 00:38:12 UTC, Vladimir Panteleev 
wrote:
>
> If you have enough declarations in one file that they call for 
> code folding, it may be better to move them to a separate 
> module. Public imports and aliases allow doing this without 
> breaking any code.
>
> [...]
>
> Generally speaking, I would recommend to simply avoid code 
> folding altogether:
>
> https://blog.codinghorror.com/the-problem-with-code-folding/

Indeed good point:
http://stackoverflow.com/questions/475675/when-is-a-function-too-long


More information about the Digitalmars-d-learn mailing list