35
rant1ng
68d

Is php beautiful, or ugly?

Here's my php. The beautiful, and the ugly.

*nervously presses submit*

Comments
  • 9
    thanks 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.
  • 7
    Go upload the screen on imgur or something like that!
  • 3
    Hard to read when blind and devrant destroys images 😒

    But from what I can see it looks reasonable to me.
  • 2
    Even thought I can't read it, it's still really pretty. :)
  • 10
    .. I couldn't resist..
  • 1
    Needs more res
  • 0
    @polaroidkidd you're just chinese.
  • 0
    PhP is bugly
  • 0
    VS code doesn't have this layout ability but Atom have.
  • 0
    Their namespace splitter choice is strange, like in windows.
  • 1
    @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
  • 1
    my 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.
  • 1
    @rant1ng if something is "not immediately obvious to most", it's a good sign you should go with the obvious one instead.
  • 2
    @Glinkis

    you're right, thanks
  • 3
    @Pogromist VSCode got that layout functionality now 😊
  • 2
Your Job Suck?
Get a Better Job
Add Comment