Listen "149 - Sugar that syntax"
Episode Synopsis
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
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 episodes of the podcast How To Code Well
219 - Only test the code you control
25/03/2025
218 - How to make your PHPUnit tests smarter
18/03/2025
217 - Laravel 12 is here
17/03/2025
215 - Objects Vs Classes
28/01/2025
214 - Strategic software architecture
21/01/2025
212 - Symfony Killer features
07/01/2025
211 - What happened in 2024
06/01/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.