最近我做了很多前端工作.这里的一些开发人员已经将它们的元素命名为"divPhotoGalleryContainer",有时我只会看到"galleryContainer".
有一个很好的命名约定吗?添加"div"真的有用吗?
html naming
html ×1
naming ×1