
Episode 149 · Season 4
149 - Sugar that syntax
About this episode
How to support Ukraine https://supportukrainenow.org/
Change log
- I’m working back in the land of legacy. PHP 5.6
- Goose (My 2nd English Springer Spaniel) is now 9 weeks old and has razor teeth.
- I’ve been working on using Vagrant, Docker, Parallels and Ansible to create a test lab for HTCW
- We reviewed the documentation for tutorial 5 and 6 of the PHP login course on Tuesdays live coding stream
- I am talking at PHP North West Drupal User Group NWDUG next Tuesday at 7PM so I won’t be streaming on YouTube on Tuesday
What is Syntax Sugar
This is a term used to describe code that is meant to be more readable and helpful to humans.
- It’s sometimes called Candygramming
- Can shorten code to one liners which can be helpful and easier to read
- Can be difficult to change and maintain in the future
- Can lead to hidden magic features that are used in the language eg _get and _set
- Is sometime perceived as a lazy way to write code
- Reduces the syntax needed to perform an operation
- If done badly then it can lead to over complication, bad abstraction and even worse code readability then before
More from How To Code Well
Let's talk about how to test code that you don't controlShow notes: https://howtocodewell.net/podcast/episode/219Support the show and get early access to tutorials courses and moreYouTube membership h…
In today's I practice a new PHP talk that I am hoping to give to PHP user groups this year. The talk is called how to make your PHPUnit tests smarter. Show notes: https://howtocodewell.net/podcast/epi…
In today's show we discuss more Laravel tutorials and look at what is coming in Laravel 12 Show notes: https://howtocodewell.net/podcast/episode/217Support the show and get early access to tutorials c…
In today's show we discuss more Laravel tutorials and dip our toes deeper into the world of OOP. Support the show and get early access to tutorials courses and more YouTube membership https://www.yout…
Today we are going to talk about Laravel collections, conferences and object orientation. Show notes: https://howtocodewell.net/podcast/episode/215 Support the show and get early access to tutorials c…