3

What's the most virgin language? I'm pretty sure no PHP coder ever had sex ever. We all know the story of that one PHP coder who got laid but we all know it's only a myth

Comments
  • 11
    I don’t know but the least virgin language has to be js. It has fucked everyone.
  • 2
    At least we make lambo money. Mkay.
  • 3
    Was senior PHP coder but so outdated now. I had a lot of fun with it, but python is as language just a lot better in my eyes. I made php in python while ago. All python print statements rendering to template giving you the whole python language as template engine, just like php does. I'll make sure that this amazing idea won't have any future. On the molodetz graveyard with it.
  • 0
    javascript and typescript, for sure.
  • 1
    Whichever language you speak, how's your mom's basement looking nowadays? Been a while since I popped over
  • 0
    @Tayo you know my mum's basement have been flooded because of all the cartards
  • 1
    Not being able to send json arrays from PHP is where I gave up on it. No matter what you do, they always go out as a kv pair with the array index as the key. I hate having branching logic in my controllers just for WordPress.
  • 0
    @cuddlyogre JSON has always and will always be a pile of crap for serializing and deserializing. It's an obtuse format.
    Doesnt matter how fast my DB/logic is if json gonna slow me down.
    Still beats excel/xml/text formats in DX tho.
    GraphQL is kinda nice in theory, but most implementations go rogue or are a hassle.
    I do like grpc, but it's too niche/rigged to expose an API with it.
  • 0
    @rootshell I cannot fathom such an opinion. It's a fantastic way to transmit data in a way that is human readable and editable and is easy to deserialize and read. This makes working with it trivial. Any kind of slowness associated with parsing it would solely be on whoever wrote the parser, and not the format itself.

    The only place I can remotely agree is for instances where the user directly interacts with it like config files, but that was not what it was designed for. Even so, it's still very easy to work with.

    The alternative is sending data in some kind of binary format that doesn't have to follow any kind of standard and is a pain to troubleshoot.

    I would love to know what you would consider to be a superior alternative.
  • 0
    @cuddlyogre really depends on usecase tbh. If its just some endpoint getting hit like sub 50 a second it's just whatever you feel like as long as the consumer is okay with it. But specifically deserializing json is slow generally speaking. Most languages drop down to soms c/asm impl to keep it somewhat speedy.
Add Comment