25 karma · joined June 1, 2023
I've been recently jumping into PHP and wanted to share a few thoughts I had that I hope are helpful for anyone looking to pick up the language. I've been having a blast learning the ecosystem and stumbling my way around, so I got my thoughts out on (electronic) paper about my experience building my first public package. Definitely a lot more to learn. Cheers!
I'll be the first to admit I have a tendency to C#/Java-ify code in languages that I attempt to learn (could definitely argue it's a bad habit) due to nearly a decade of working with them. Any advice you might have to make things a bit more idiomatic to modern PHP? Always looking to improve the code however I can.
It can definitely be daunting putting something out into the wild for people to see, but I've found the constructive criticism (in most cases) that comes with the territory can only help improve whatever it is I'm working. Gotta take it all in stride.
I'm still fairly new to PHP, coming from the .NET/TypeScript world. Unfortunately, it wasn't ChatGPT generated and I'm well aware there's still a lot to learn. I'm always looking for ways to improve, so if you'd like to create a few issues, I'd be more than happy to address them and get the chance to dig deeper into PHP.