All 25 Comments

re: How to deprecate a type in php
You're correct, that's why I labelled this a best effort, i...
re: How to deprecate a type in php
This solution is enough in some situations. In others, you ...
re: How to deprecate a type in php
Maybe that was unclear (I wrote this in a rush), but this b...
re: How to deprecate a type in php
Not sure I understand. Please show me how you would impleme...
re: How to deprecate a type in php
This will not be enough, sadly. I need to make the new type...
re: How to deprecate a type in php
There even was a pull request, but… github.com/composer/com...
re: How to make an open-source library ?
You can look at examples, it's not that different form a pr...
re: Why using Yoda conditions you should probably not be
It very much could, this is a great idea if you don't need ...
re: Why using Yoda conditions you should probably not be
If the parameter list is so long that you need to scroll, y...
re: The case for multiline signatures
I think it should be completely okay to "clutter" an interf...
re: The case for multiline signatures
I think that feature is now useless and should be removed. ...
re: The case for multiline signatures
Great answer thanks! Let me address a few of your points: ...
re: Why I keep pestering everyone about long lines
lol even german does not produce such long words
re: Why I keep pestering everyone about long lines
Might be ok indeed for Java, I did not practice a lot but I...
re: Why I keep pestering everyone about long lines
That limit often depends on the language: I use php, and th...
re: Why I keep pestering everyone about long lines
No it does not apply equally, see the video I linked to: th...
re: Why I keep pestering everyone about long lines
What I'm saying, especially with the last paragraph, is tha...
re: Why using Yoda conditions you should probably not be
Nice story, didn't know that one, but it's definitely simil...
re: Why using Yoda conditions you should probably not be
You can still use code review and linters with legacy code ...
re: Why using Yoda conditions you should probably not be
Woah! Neat!
re: Why using Yoda conditions you should probably not be
Rewrite the whole post in Yoda I definitely should. On the ...
re: Why using Yoda conditions you should probably not be
Yoda conditions are a lot like the Hungarian notation: it's...
re: Why using Yoda conditions you should probably not be
TIL. That's a good usage of Yoda conditions.
re: Why using Yoda conditions you should probably not be
And I'm glad to see I'm not alone! Thanks!
re: Why using Yoda conditions you should probably not be
Thanks a lot! It has been bothering me for a while, and I n...
loading...