67

As a backend dev, I have this habit of just dropping script & style tags all over the place, and using inline style attributes on divs.

Then when I'm done I just link the code to a frontend dev, they'll hate it so much it will be cleaned up within minutes.

Comments
  • 6
    Clever 🤦‍♂️
  • 7
    You Sir, are the evil in devil.
  • 13
    I wrote a python script that does exactly that - it creates a new css and a new js file and separates those blocks from the html.

    The company liked it and copyrighted it.
  • 3
    Depending on the module I do have those inline tags too. Sadly I can't forward it to front-end, so it'll stay like that, probably forever.
  • 1
    Inline tags suck and shouldn't be done even in hack mode. You'll know why the moment you deploy Content Security Policy.
  • 3
    @Fast-Nop CSP doesn't bother me when the whole library is copy-pasted inline.

    Hey, the question was about being lazy 🤷
  • 3
    @Noob what a dick move, I would have loved to have something like that as mentioned in one of my previous rants (without having to do it myself), seeing that something like I need and searched isn't widely available due to copyright is infuriating.
  • 1
    This almost made me to unsubscribe you... pure fucking evil!
  • 1
    @JoshBent how is that a dick move? His company pays for his working time and doesn't profit in any way from giving the paid results to everyone including competitors for free.

    Hardware companies like Intel give away open source not to make the world a better place, but to increase their hardware sales, which is their actual business model.
  • 0
    @Fast-Nop I stated why I think it is a "dick move", you have a different point of view on it and opinion, so I don't really see what's this about.
  • 1
    @JoshBent that's what companies do. You sign an agreement for it.
  • 2
    Die.
  • 2
Add Comment