Follow

It seems like there should be a better way to do this... let's call it an "abstract reminder".

It's kind of the inverse of an abstract method, which is like saying "here's a function which some child class needs to provide code for".

An abstract reminder, however, is saying "here's a method which already exists and needs to be called at some appropriate point, but I can't do it from here -- so just make sure it gets called, mkay?"

So far, it's been useful in tracking down why things aren't being initialized properly (and therefore fixing that), but it seems like there ought to be a better way.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Toot.Cat

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!