ProtectedInterceptors icon indicating copy to clipboard operation
ProtectedInterceptors copied to clipboard

[discussion] is it really that bad?

Open amenk opened this issue 7 years ago • 1 comments

I am wondering ... if I extend a class and use a preference, I am able to and depending the protected interface.

So it is not much worse to use interceptors for that - of cause I risk upgradability if the interface changes, but I do so as well when I use preferences but cause new problems, that I can not multiple times extend the same class.

I like your experiment :-)

amenk avatar Mar 15 '18 12:03 amenk

Compared to a preference, it probably isn't so bad... Ideally you want neither this module nor preferences for modifying core behavior. I guess preferences serve another purpose when used together with interfaces.

It's also about denying responsibility for whatever happens when people use it. :man_shrugging:

danslo avatar Mar 15 '18 13:03 danslo