andrewcairns Profile Banner
Andrew Cairns Profile
Andrew Cairns

@andrewcairns

Followers
2K
Following
3K
Media
276
Statuses
6K

Using metaphors and analogies to explain Software Engineering in a fun way.

Fife, Scotland 🏴󠁧󠁢󠁳󠁣󠁴󠁿
Joined January 2009
Don't wanna be here? Send us removal request.
@andrewcairns
Andrew Cairns
1 year
We can learn a lot about Software Development by playing retro games. Explore what Composition, Inheritance and what Composition over Inheritance means with a little help from our 8-bit friends!. Hope you enjoy.
Tweet media one
5
10
40
@andrewcairns
Andrew Cairns
14 hours
The Pipe Operator will make a significant improvement to the readability of our #php code. Composition will never look the same. Check out the difference with an interactive example:.
Tweet card summary image
acairns.co.uk
Explore how a native pipe operator could improve code readability and composition in PHP. Understand current alternatives and what future implementation might look like.
0
0
1
@andrewcairns
Andrew Cairns
2 days
Very pleased with how this article is turning out! Looking forward to publishing it.
0
0
3
@andrewcairns
Andrew Cairns
4 days
Finally! 😅. I've solved the pain with dynamic code blocks without breaking syntax highlighting.
0
0
3
@andrewcairns
Andrew Cairns
6 days
I'm writing an article about the new pipe operator coming to PHP. I promise, I am. Pinky swear.
5
3
53
@andrewcairns
Andrew Cairns
7 days
It's ironic PHP gets the pipe operator, helping with code readability, just as code gets read more and more by computers. 🫠.
1
0
2
@andrewcairns
Andrew Cairns
7 days
I was pretty vocal about how I wasn’t looking forward to property hooks in PHP… but it’s the complete opposite for the pipe operator. Such a huge quality of life and DX upgrade.
php.watch
1
0
0
@andrewcairns
Andrew Cairns
8 days
Almost finished 3rd post in series about extracting a service from monolith. This one is about challenges with some legacy events and why events should be immutable!. Publishing soon. Looking for early feedback - let me know if interested.
1
1
5
@andrewcairns
Andrew Cairns
8 days
I'd very much like an MCP for @SplitSoftware
0
0
1
@andrewcairns
Andrew Cairns
9 days
I've been doing quite a bit of ffmpeg stuff in the last few years and only just heard about SteamPot because @ittybithq acquired it.
1
0
2
@andrewcairns
Andrew Cairns
9 days
40 minutes away from completing my first 16 hour fast in over 2 years. Small but important step in a new routine.
0
0
4
@andrewcairns
Andrew Cairns
3 months
Thank you for subscribing!. 🫶
Tweet media one
2
0
5
@andrewcairns
Andrew Cairns
4 months
Composite is a Design Pattern that can be used to treat single objects, and collections of objects, in the same way. Here's an example:
@andrewcairns
Andrew Cairns
4 months
I'm doing a wee series on design patterns on YouTube. Here is the playlist:.
0
0
6
@andrewcairns
Andrew Cairns
4 months
I'm doing a wee series on design patterns on YouTube. Here is the playlist:.
0
1
4
@andrewcairns
Andrew Cairns
4 months
Have you ever wondered how strategy games like Red Alert 2 manage hundreds of units on screen without crashing?. The secret is the Flyweight Pattern:
1
1
5
@andrewcairns
Andrew Cairns
5 months
I'm doing a wee series on design patterns over on YouTube:.
0
0
3
@andrewcairns
Andrew Cairns
5 months
The Adapter Pattern is useful when you want to own the interface you want to use:
5
5
21
@andrewcairns
Andrew Cairns
6 months
Interested in monolith decomposition? Curious how to extract a bounded context from an existing monolith?. I'm writing about every step giving a comprehensive look at all the triumphs and challenges along the way. The first post is about the planning phase and the RFC. 👇
Tweet media one
1
1
0