The first Video of my Clean Coding Sessions YouTube Channel:
Unnötige Komplexität - Von hinten durch die Brust ins Auge | Clean Coding Sessions mit Timo Körber
https://t.co/3KAIGqLwjd
#cleancoding
The next Video of my (german) Clean Coding Sessions YouTube Channel:
Der Ternäre Operator - Dein Freund für Einzeiler | Clean Coding Sessions mit Timo Körber
https://t.co/TMsip18EWC
#cleancoding
Another cool feature of PHP8 ist the Match Expression. It's a more convenient replacement of the Switch-Case Statement. #php#cleancoding#switchcase#php8
I'm super excited to announce Laravel Playground!
It allows you to run and embed @laravelphp code right in your browser.
Allowing you to:
- Try out @LaravelLivewire
- Play with Laravel blade components
- Embed code in your blog posts
- Much more...!
https://t.co/Uba9zBr1JE
Often you don't need to be too specific with your conditions. The strict comparison with the integer 0 might be a problem here, because a string "0" would match the condition whilst not being a valid value. So keep it simple and just use !empty(). #php#cleancoding
"Zombie-Code" is programming code, that will never be executed when running your program. Its only purpose is to confuse you when skimming through your code. So get rid of it right away. #php#cleancoding#zombiecode
I've been using a JSON seeder for all my recent @laravelphp projects and finally made a package out of it. I hope some Laravel developers out there can also get a use out of it.
https://t.co/ryOucF691H
Be careful when using the Null Coalescing Operator instead of the Ternary Operator. The TO checks if the value in its condition is "truthy" - The NCO on the other hand checks if the value is set and not null. Both use cases make sense, but you gotta know the difference! #php
😎 PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
PHP is not dead
#php#laravel#programming#dev