Why do you continue to use D?
    Dukc 
    ajieskola at gmail.com
       
    Tue Jun  9 14:25:17 UTC 2020
    
    
  
On Tuesday, 9 June 2020 at 13:06:30 UTC, Paulo Pinto wrote:
>
> You can achieve that with a mix of partial classes and using 
> static, the only downside is a bit more of boilerplate on C# 
> side.
I thought about this a bit. Perhaps it goes like this: In D, I 
should split files when I what to split what I export. But in C#, 
I should split files when I want to split what I import. Meaning, 
if I have two functions and want to import `System.Collections` 
for only one of them, I should consider splitting them to 
different files, using the partial class trick.
Correct?
    
    
More information about the Digitalmars-d
mailing list