Jump to content

Slickificationalize

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Slickificationalize

  1. I've seen it used once before. It was implemented to load a class from a file path, based on a configuration that provided the class name. Then the ref was cast to a more specific class, which was in fact the parent class of the originally targeted class. At first glance, it seemed entirely backwards, but my first inclination looking at the data is that the use of "To More Specific Class" and the parent class as the class that the ref was cast to was done in order to ensure that the class called was aware of its inheritance. Though I don't definitively understand how it functioned, it did work quite smoothly.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.