Skip to main content
1 of 4
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683

This is where encapsulation pays off.

If you have a method or class that's written in the old MVC style, and you instantiate or call it using new-style code, will it still work?

Treat your old code like the black box that it's supposed to be, and you can have it both ways.

Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683