2017-05-17 18:43 GMT+02:00 Levi Morrison <le...@php.net>: > I'm not intending to derail the thread but let's consider your statement: > your proposal constrains us to choosing something Java-like instead of > having all options. Think closely about that: you are advocating that we > constrain us to Java-like enums when there are many, many options and we > get what for that trade-off? A simpler way to implement variance for the > object-type only? No thanks.
No offence Levi, it was just an example of enums implementation. Maybe I should not now point it in this thread. My apologies. -- regards / pozdrawiam, -- Michał Brzuchalski about.me/brzuchal brzuchalski.com