3 ms·
That’s a very narrow view. Machine code is ran in one context – the CPU – with the compiler worrying about this one context. Meanwhile, HTML is parsed by much m
by yunruse 7y ago
That’s a very narrow view. Machine code is ran in one context – the CPU – with the compiler worrying about this one context. Meanwhile, HTML is parsed by much more than a browser.
Like the article says, there is literally zero drawback to being slightly more semantic. In fact, semantic HTML probably improves your own code, making it easier at a glance to see what components do.
- revskill 7y agoImagine a newscomer learn directly React and its abstraction to produce a website. He actually did it without any knowledge of "real html".
- richardwhiuk 7y ago> Meanwhile, HTML is parsed by much more than a browser. Any examples?
- magpi3 7y agoBots and email clients. Microsoft word. Libre Office.
- daveslash 7y agoand anyone still using an RSS reader. Anyone sharing something on Facebook or other social media, me when I'm trying to write an app to do something interesting for which there is no existing API.
- peterjlambert 7y agoScreen readers, braile readers, rss readers, search bots, voice assistants like Siri or Google Assistant, social media embeds.... Need more? Future tech too. Who knows what's going to be consuming our content in the future, or what input and output devices we (or others) are going to be using to navigate content and apps.