Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.

Greatly improve the readability of your code by breaking down complex conditionals

Original – by Freek Van der Herten – 1 minute read

Most developers have probably seen some complex conditionals in legacy code. In this video I show you how to refactor those.

Stay up to date with all things Laravel, PHP, and JavaScript.

Follow me on Twitter. I regularly tweet out programming tips, and what I myself have learned in ongoing projects.

Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

Comments

Webmentions

Arpad Olasz liked on 28th May 2021
/dev/faisal liked on 28th May 2021
Ali Ali liked on 28th May 2021
Miller Adulu liked on 28th May 2021
Brandon Surowiec retweeted on 28th May 2021
Zubair Mohsin liked on 28th May 2021
Brandon Surowiec liked on 28th May 2021
Bulawayo liked on 28th May 2021
Idris 🛡️ liked on 28th May 2021
Helder Willian liked on 28th May 2021
Nuno Maduro liked on 28th May 2021
Nuno Maduro retweeted on 28th May 2021
Danny Cantrell liked on 28th May 2021
Israel Araujo liked on 28th May 2021
Roman Pronskiy liked on 27th May 2021
Oliver Stark liked on 25th May 2021
Tauseef Shah liked on 25th May 2021
Nasirou Wagana liked on 25th May 2021
Nasirou Wagana retweeted on 25th May 2021
Kenneth L liked on 25th May 2021
Kenneth L retweeted on 25th May 2021
Asif Mulla liked on 25th May 2021
Zysk Technologies liked on 25th May 2021
WilliamDk🇺🇬 liked on 25th May 2021
Krunal patel liked on 25th May 2021
Jamie retweeted on 25th May 2021
Ibnu Halim Mustofa liked on 25th May 2021
Fabrizio liked on 25th May 2021
Geidel Guerra liked on 25th May 2021
Jamie liked on 25th May 2021
Riccardo Slanzi liked on 25th May 2021
Daniele Esposito liked on 25th May 2021
Ali Mahdavi liked on 25th May 2021
Joel Jensen liked on 25th May 2021
Salman Zafar liked on 25th May 2021
Johan Vervloet liked on 24th May 2021
Barna Szalai liked on 24th May 2021
Robert Cordes liked on 24th May 2021
Ravi Teja liked on 24th May 2021
Michal Oravec replied on 24th May 2021
Unnecessary parentheses in the original code.
ArielMejiaDev retweeted on 24th May 2021
ArielMejiaDev liked on 24th May 2021
Padam Shankhadev liked on 24th May 2021
PHP Synopsis retweeted on 24th May 2021
Chris Hartjes retweeted on 24th May 2021
Ihor Vorotnov liked on 24th May 2021
Jigal Sanders liked on 24th May 2021
Vargas Josue retweeted on 24th May 2021
Alexandre liked on 24th May 2021
Hanny Ramzy liked on 24th May 2021
Alfredo Martínez liked on 24th May 2021
mariohamann liked on 24th May 2021
Vargas Josue liked on 24th May 2021
Willan Correia liked on 24th May 2021
Arne Sierens liked on 24th May 2021
Fazlul Kabir liked on 24th May 2021
mariohamann replied on 24th May 2021
Like it a lot - thanks! 🙏🏻
Captain Barbosa liked on 24th May 2021
Joel 🥶 liked on 24th May 2021
Jeffrey van Rossum replied on 24th May 2021
Minor typo: "seems" should probably be "seen".
Martin Dufresne liked on 24th May 2021
Jeffrey van Rossum liked on 24th May 2021
Kevin Ullyott liked on 24th May 2021
Spatie retweeted on 24th May 2021
Adil Shahzad liked on 24th May 2021
Johan Alvarez liked on 24th May 2021