DEV Community

loading...
Grégoire Paris profile picture

Grégoire Paris

404 bio not found

Joined Joined on  Twitter logo Github logo Website logo

All 25 comments

How to deprecate a type in php

You're correct, that's why I labelled this a best effort, i...

How to deprecate a type in php

This solution is enough in some situations. In others, you ...

How to deprecate a type in php

Maybe that was unclear (I wrote this in a rush), but this b...

How to deprecate a type in php

Not sure I understand. Please show me how you would impleme...

How to deprecate a type in php

This will not be enough, sadly. I need to make the new type...

How to deprecate a type in php

There even was a pull request, but… github.com/composer/com...

How to make an open-source library ?

You can look at examples, it's not that different form a pr...

Why using Yoda conditions you should probably not be

It very much could, this is a great idea if you don't need ...

Why using Yoda conditions you should probably not be

If the parameter list is so long that you need to scroll, y...

The case for multiline signatures

I think it should be completely okay to "clutter" an interf...

The case for multiline signatures

I think that feature is now useless and should be removed. ...

The case for multiline signatures

Great answer thanks! Let me address a few of your points: ...

Why I keep pestering everyone about long lines

lol even german does not produce such long words

Why I keep pestering everyone about long lines

Might be ok indeed for Java, I did not practice a lot but I...

Why I keep pestering everyone about long lines

That limit often depends on the language: I use php, and th...

Why I keep pestering everyone about long lines

No it does not apply equally, see the video I linked to: th...

Why I keep pestering everyone about long lines

What I'm saying, especially with the last paragraph, is tha...

Why using Yoda conditions you should probably not be

Nice story, didn't know that one, but it's definitely simil...

Why using Yoda conditions you should probably not be

You can still use code review and linters with legacy code ...

Why using Yoda conditions you should probably not be

Woah! Neat!

Why using Yoda conditions you should probably not be

Rewrite the whole post in Yoda I definitely should. On the ...

Why using Yoda conditions you should probably not be

Yoda conditions are a lot like the Hungarian notation: it's...

Why using Yoda conditions you should probably not be

TIL. That's a good usage of Yoda conditions.

Why using Yoda conditions you should probably not be

And I'm glad to see I'm not alone! Thanks!

Why using Yoda conditions you should probably not be

Thanks a lot! It has been bothering me for a while, and I n...

loading...