Overview for 'stitcher-io'
Written by Stitcher.io
/ Original link
on Jul. 16, 2022
PHP is a strange language when it comes to type systems and static analysis. Back when it was created, it was a very dynamic and weakly typed language, but it has been slowly evolving towards a language with a stricter type system — albeit opt-in. Developers can still write dynamic and untyped PHP…
Written by Stitcher.io
/ Original link
on Jul. 15, 2022
This is just a fun little post I wrote because I wanted to visualise how my data transfer objects have evolved over the years. # August 2014: PHP 5.6 Let's start with PHP 5.6, this is what most people without modern-day PHP knowledge probably think PHP code still looks like. I'll just give you the…
Written by Stitcher.io
/ Original link
on Jun. 27, 2022
It's that time again: my biyearly summary of which PHP versions are used across the community. I know I'm a little early, that's because I had some spare time today and wanted to make sure I got it ready in time. You can read the January edition here. As always, it's important to note that I'm work…
Written by Stitcher.io
/ Original link
on Jun. 16, 2022
Some exciting news today: Stitcher — this blog — turned 5! In a way, that feels like a long time, although I was also thinking this week: "it feels longer than that". Anyway, it's a reason to celebrate! So first things first: I'm giving away 5 Stitcher-themed elephpants, keep on reading if you want…
Written by Stitcher.io
/ Original link
on Jun. 8, 2022
This is a list of things I do when setting up PhpStorm from scratch. I prefer a clean and minimalistic look, which takes less than 5 minutes to set up. You can watch the full video, or scroll through the sections on this page! # Hide all toolbars I only use keyboard shortcuts and the actions menu,…
Written by Stitcher.io
/ Original link
on May. 30, 2022
This is my personal style guide for using enums in PHP. Each section describes the rule, but also the personal, opinionated reasoning behind the rule. # 1. Uppercase You must use uppercase notation for enum cases: enum PostState { case PENDING; case PUBLISHED; case STARRED; case DENIED; } # Why? En…