"value":"\n <p>Something that came up in my discussion with Dave Liddament for the Beyond Blocks podcast was that there seem to be two ways of writing PHP code.<\/p>\n\n<p>One is writing strict code by enabling strict typing, using parameter and return types, and leveraging tools like PHPStan at a high level to analyze code.<\/p>\n\n<p>The other is no not use types and to use a more \"duck typing\" approach.<\/p>\n\n<p>The term \"visual debt\" came from a video discussing the pros and cons of these approaches.<\/p>\n\n<p>The same can be said for JavaScript and TypeScript, but PHP can do both and gives the Developer the choice of how they write their code.<\/p>\n\n<p>I prefer writing strict code and for my code to be as explicit as possible, but I appreciate not everyone does and I like that PHP caters for both.<\/p>\n\n<p>How do you write your PHP code?<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>Something that came up in my discussion with Dave Liddament for the Beyond Blocks podcast was that there seem to be two ways of writing PHP code.<\/p>\n\n<p>One is writing strict code by enabling strict typing, using parameter and return types, and leveraging tools like PHPStan at a high level to analyze code.<\/p>\n\n<p>The other is no not use types and to use a more \"duck typing\" approach.<\/p>\n\n<p>The term \"visual debt\" came from a video discussing the pros and cons of these approaches.<\/p>\n\n<p>The same can be said for JavaScript and TypeScript, but PHP can do both and gives the Developer the choice of how they write their code.<\/p>\n\n<p>I prefer writing strict code and for my code to be as explicit as possible, but I appreciate not everyone does and I like that PHP caters for both.<\/p>\n\n<p>How do you write your PHP code?<\/p>\n\n ",