BEM 和 SUIT CSS 命名约定的区别

The differences between BEM and SUIT CSS naming conventions

BEM and SUIT CSS 命名约定之间有什么区别?

根据bem.info (source):

We use hyphen to separate words in long names […] and two underscores to separate the name of the block form the name of the element […]

But you can use any other separators for it.

因此,可以通过另一种语法使用 BEM。 SUIT CSS 的语法是 BEM 的有效替代语法。

此外,Nicolas Gallagher 将 blocks (BEM) 重命名为 components (SUIT),elements (BEM) 到 后代 (SUIT).

Is one better suited for certain types of projects the other?

如果您计划使用完整的 BEM 方法(参见 this article 的示例),包括来自 Yandex 的工具,请保留原始的 BEM 约定。

其他,看你的喜好了。