Elektrine lite

← Feed

@michael@mstdn.thms.uk

Post #3869225

2026-07-16 21:31 UTC

#php hot take: I don’t like the pipe operator. It looks great in carefully curated code sample, but in almost every actual production use case I find it much harder to read than the alternatives.

Replies (1)

  • @theshaunwalker@phpc.social 2026-07-16 21:45

    @michael@mstdn.thms.uk Im the opposite. I rarely have production use cases that it would apply too (nested function calls primarily). But those few scenarios I’ve been sorely desperate for a pipe operator to make the code clearer lol

    Open ##3869224