25

Yeah all these js files for one static page, hardly one or two functions are getting called.

Comments
  • 1
    On the application side, we have many things that alert to dead code, what do web devs use for that?
  • 0
    @bkwilliams I'm not aware of that method in any domain
  • 8
    2 or 3 calls, and script loaded in <head>...
  • 6
    I gained 5 MB just by reading it.
  • 0
    Too familiar. Once, a "designer" refused to acknowledge her "design" (really just a wp theme crammed with all sorts of unused fonts, styles and scripts ) took much longer to load, than my clean implementation of it, trimmed of all the garbage.
    I let her design online until everyone catch up with the bugs (disappearing divs, menus under content, a beautiful mess).
    Once it was obviously flawed I was asked *nicely* if I could revert to my implementation of said design. 😀
    Never heard of her again 😛
  • 2
    Scripts in head 😣
  • 1
    Notepad++? Come on man, you’re better than that
  • 1
    Christ
  • 0
    Also first load all <link> elements and after that all <script> elements.
    Dont mix them together or these scripts will be shortly blocking the stylesheets while loading the page...
  • 2
    @zshh i don't want to use vscode to edit shit code
  • 2
  • 1
    @dextel2 haha oh so you use both? One for good code and one for shit code, I get it 😄
  • 1
    @zshh pretty much like that..I use vscode for new and fresh code
Add Comment