A really interesting conference was given about D-Specific Design Patterns and in the D community, some people thought it could be a starting point for a book dealing about effective coding techniques. Others argue that it was too early as not many people have lots of experience, the author(s) of such a book will have some biased/personal appreciation about the notion of effectiveness. SO is a more interactive media (with its limitations). So, waiting for 'Effective D' to come out, it will be great if we could share some (killing) advices/techniques/patterns to make D code look nicer. I think it will be clearer if an answer:
- expose a unique technique
- is essentially a piece of commented code
- (if it is too large) is just a link to the code (public gist...)