Weasel
👄 I'd intercept me
Never seen it before, you learn something new every day! The reason I asked is because I personally find self look cleaner, but that's just personal preference (as is a lot in coding). Thanks for explaining and including a source with more in-depth information!Let's say we got a class that extends another class, which has a static property with the same name, it uses the one from the current class and not the extended one.
Well, it has just become a habit to me to use static over self, hehe, and it looks a lot cleaner if you ask me.
You must be registered for see links