Skip to main content
Legend
May 30, 2021
Question

Am I living on a different planet to every other developer?

  • May 30, 2021
  • 3 replies
  • 908 views

Is code even meant to be read by a human any longer I'm regularly asking myself given the seemingly intoxicating examples of websites being produced these days by automated CMS systems, which just pump out complete junk, in my opinion. Look at the source code:

 

https://www.nme.com/features/film-features/billie-piper-interview-rare-beasts-interview-britney-spears-2944088 

 

Does any other developer have a view? I'm really interested in this one in particular as it includes 'scoped' css in the html, which isn't created by the shadow-dom as in the case of react and vue, I believe, the css has just been dumped right into the middle of html code, is that even allowed, I thought that was poor practice. I could create my own web-components which bought along the css, without having to resort to a framework and since web-components seem to have slide off the cliff, without using a framework, there currently is no way to keep the css with the html. 

 

hummmm.

    This topic has been closed for replies.

    3 replies

    B i r n o u
    Legend
    May 31, 2021
    quote

    https://www.nme.com/features/film-features/billie-piper-interview-rare-beasts-interview-britney-spears-2944088 

     

    hummmm.


    By @osgood_

     

    youps... sorry for being later on that one...

     

    what surprise me the most in this page sample... is the fact that (I have to first tell you that I use multiple screens , and that all of them use very hight width pixels size.) the width of the article size doesn't go higher than 600 px width....  in France we say... "not even afraid"

    osgood_Author
    Legend
    May 31, 2021
    quote
    quote

    https://www.nme.com/features/film-features/billie-piper-interview-rare-beasts-interview-britney-spears-2944088 

     

    hummmm.


    By @osgood_

     

    youps... sorry for being later on that one...

     

    what surprise me the most in this page sample... is the fact that (I have to first tell you that I use multiple screens , and that all of them use very hight width pixels size.) the width of the article size doesn't go higher than 600 px width....  in France we say... "not even afraid"


    By @B i r n o u

     

    Isn't the max-width set on purpose so you get to see the background advertisment, either side of the article on larger screen sizes???

     

    My heads still spinning, trying to work out if this is 'super state of the art' or just plain 'hacky and hope anything goes approach' lol............I do know that the css style blocks, according to good practice, should not be used within the html mark-up and why the developer is adding scope to the style tags I'm not sure, maybe they think because its ok in a framework like Vue it works outside of a framework.

    B i r n o u
    Legend
    June 1, 2021

    well... no comment... (and no advertisment)

     

    BenPleysier
    Community Expert
    Community Expert
    May 31, 2021
    quote

    I'm really interested in this one in particular as it includes 'scoped' css in the html


    By @osgood_

     

    See: https://caniuse.com/style-scoped

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    osgood_Author
    Legend
    May 31, 2021
    quote
    quote

    I'm really interested in this one in particular as it includes 'scoped' css in the html


    By @osgood_

     

    See: https://caniuse.com/style-scoped


    By @BenPleysier

     

    Thats what l thought and when tested yesterday didnt work. Well the css did but the scoping to a particular element didnt.

     

    Its completely crazy that code so poorly produced could even work in a browser or that anyone calling themselves a developer could provide such underwhemling solutions. Unfortunately that seems to be quite normal these days and partly to blame is this growing culture of younger developers who are clueless or maybe older developers who have just given up, if you cant beat them join them attitude. Whichever lve personally never seen the industry in the poor and unskilled state that it is today

     

    BenPleysier
    Community Expert
    Community Expert
    May 31, 2021

    The problem is the browser that never does what W3C compliance states.

     

    Have a look at https://www.youtube.com/watch?v=jUQ2-C5ZNRc

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Nancy OShea
    Community Expert
    Community Expert
    May 31, 2021

    What do you expect from planet WordPress with god knows what 3rd party addons & widgets?

     

    Nancy O'Shea— Product User & Community Expert
    BenPleysier
    Community Expert
    Community Expert
    May 31, 2021

    and `L`-plate developers.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!