This question is more discussion oriented, which asks a simple question. Writing basic HTML is simple, but writing fast light standards based on SEO recommendations, all browsers compatible with HTML pages are complex and time consuming.
But why is it difficult?
In my opinion, because of the hundreds of different rules that you must follow, it’s hard to understand what is hard to remember, and even if you remember that it’s hard to combine them together in a contradictory form and the only way to confirm your work is loaded in every browser that you support and check each scenario.
But this really looks like a problem that we had in the past in other areas of programming, before the invention of high-level language programs written on an assembly was very similar to writing HTML files, you had to remember hundreds of different rules to ensure operability and ensure correctness etc., and the only way to verify them was to execute the program.
In other areas, this problem was solved by high-level language compilers that simplify the syntax, do performance optimization, and check the syntactic correction of programs before execution.
Don't you think that we need another simpler language for writing web pages and a compiler that can create a specific browser, a standard patch size optimized for HTML, from this language?
Do you consider it possible to create such a language and compiler?
source
share