Chapter 16. Patterns: learning to sew
This chapter covers
- Best coding practices
- Model-View-Controller pattern
- Delegate pattern
Some of you are probably worried that this chapter is about sewing, but relax. It’s about coding patterns. What in the world are coding patterns? Honestly, they’re kind of like sewing patterns, hence the analogy. In my goofy mind, there was some guy a million or so years ago (yes, I’m exaggerating) who wanted to make a shirt. He got a roll of fabric (or went and shaved his sheep first) and set about cutting it up to make the required pieces. After trial and error, he finally found the best combination of pieces to sew together to make a shirt. If he was smart, he probably then made a copy of the pieces and set ...
Get Anyone Can Create an App 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.