Google sets new compulsory rules for devs building on Chrome

developers
(Image credit: Huawei)

In a bid to improve performance and user experience in Chrome, Google has introduced a new initiative to help developers adhere to a set of best practices.

Through the Conformance project, Google has codified these best practices into easy-to-follow rulesets for developers. The project’s first target is the Next.js framework.

“Following Conformance rules should result in predictable outcomes, and achieving a high bar for user experience can become a side-effect of building on your tech stack,” project members explained.

While the idea of devising a set of best practices isn’t new to large-scale development projects, in its breakdown of the new initiative, The Register points out that web developers might take exception to the fact that Google is making the use of these rules mandatory.

Enforcing best practices

Announcing the changes, Google explained that developers who don’t adhere to the rules will first get a warning from their Integrated Development Environments (IDE) to fix the code.

However, if the developers fail to do so, the presence of any unresolved, high-severity issues will prevent a project from building, explained the search giant.

In addition to this apparent high-handedness, The Register believes Google's focus on Next.js could have a detrimental impact on the adoption of alternative frameworks.

Furthermore, it has been suggested that such enforcement should come from member-driven bodies such as the W3C, rather than from any single entity such as Google.

Via The Register

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.