Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
rant1ng44627ythanks devrant for murdering my image... that I spent like an hour preparing and taking... arg. fuck it I'm leaving this up
I think it looks pretty. I'm proud of how I used contracts and interfaces, patterns, and an abstract class. Properly, I think because it was absolutely needed to do so. But I'm new to OOP (one year experience) please .... though... this is dev rant... don't be kind.... rip it. -
C0D4669027yHard to read when blind and devrant destroys images 😒
But from what I can see it looks reasonable to me. -
rant1ng44627y@polaroidkidd @Drillan767
and everyone else in case you all missed it
not sure why devrant doesn't let you edit
your own post or maybe I'm stupid and can't find it
----> https://imgur.com/XxKvdSo <----
but yeah.. I use the smallest font size mostly lol -
rant1ng44627ymy favourite line of code:
$object = (new Adapter())->handle($this);
It just worked out that way as I write out, it wasn't planned. Product of using good patterns? or just stupid coincidence, I don't know... but I like it.
by the way, that's sugar for
$adapter = new Adapter();
$object = $adapter->handle($this);
this is not immediately obvious to most, so I'll point it out. -
Glinkis2227y@rant1ng if something is "not immediately obvious to most", it's a good sign you should go with the obvious one instead.
Related Rants
Is php beautiful, or ugly?
Here's my php. The beautiful, and the ugly.
*nervously presses submit*
rant
php