DEV Community

Discussion on: Pug in 5 minutes

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

It is only partially about indentation, but also about closing tags.

Does any human (not html linter) needs named closing tags. Why not just closing brackets, or nothing (using indentation instead)? Like, I love build.gradle more than pom.xml.

Collapse
 
jh3y profile image
Jhey Tompkins

Yeah 💯

It's an interesting topic. Reminds me of this article about optional HTML and what the browser will put in for you if omit closing tags.

Funny how the thought of .xml to me seems more awkward than .html although they are similar syntax 😅 It's likely the thought of huge configuration exports from programs, etc.