[Flow] names of interfaces

Karsten Dambekalns karsten at typo3.org
Thu Nov 20 09:52:09 CET 2014


Hi.

On 19.11.2014, at 21:52, Martin Kutschker <masi-20l4 at typo3.org> wrote:
> Is it still considered a requirement to use "Interface" as suffix for names of interfaces? And if so does this also apply to packages like Surf?

Yes. Yes.

> Background: IMHO the abstract class Task in Surf should be turned into an interface. It has only three abstract methods and nothing else. If I write a patch I want to avoid having to rewrite it just for changing the name.

If it’s a hassle, leave it an abstract class. And if you change it, everyone and his mother needs to adjust their code anyway, so you can as well rename it.

But: Why do you want to make it an interface?

Regards,
Karsten


More information about the Flow mailing list