Summary

In this chapter, we've taken an introductory look at D's support for user-defined types and object-oriented programming. We've looked at how these features differ from other C family languages. We've also learned about scope guards, exception handling, contract programming, and unit tests. Finally, we've added some menu classes to MovieMan.

In the next chapter, we look at features that allow you to do neat stuff at compile time.

Get Learning D now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.