Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Modern Programming: Object Oriented Programming and Best Practices

You're reading from   Modern Programming: Object Oriented Programming and Best Practices Deconstruct object-oriented programming and use it with other programming paradigms to build applications

Arrow left icon
Product type Paperback
Published in Jun 2019
Publisher Packt
ISBN-13 9781838986186
Length 266 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
 Lee Lee
Author Profile Icon Lee
Lee
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

About the Book 1. Part One – OOP The Easy Way FREE CHAPTER
2. Antithesis 3. Thesis 4. Synthesis 5. Part Two – APPropriate Behavior
6. Tools That Support Software Development 7. Coding Practices 8. Testing 9. Architecture 10. Documentation 11. Requirements Engineering 12. Learning 13. Critical Analysis 14. Business 15. Teamwork 16. Ethics 17. Philosophy

Objects Are Independent Programs

The easiest problem to solve is allowing developers to independently design objects without expressing constraints that inhibit the developers' design freedoms. One way is to provide a MetaObject protocol that allows developers to adapt the rules of a language to fit a particular context. An even easier way (both to create and to use) is to make the primitive parts of the message system available to developers, to combine as needed to fulfill their design goals.

This is easier to create because any more complex system would need these primitives anyway. It is easier to use because it allows the developers to construct solutions to problems as they encounter them, rather than trying to work out how to adapt existing rules onto the models they have for their solutions. That adaptation was one of the difficulties with using OOP we explored in Chapter 1, Antithesis: if what you've got is Java inheritance, you need to solve your problem using Java inheritance...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime