Follow

Reading GitHub comments on one coworker's PR, another coworker compliments his coding style and advocates for that method of avoiding nested if statements. And I'm like "Yeah. Preach it."

And then I lurch forward, remembering that I wrote one earlier today & have suddenly realized a way to refactor it to remove the nesting.

Do I code now, or do I wait until tomorrow?

🤔🤔🤔

Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.