I have done one project with Pug but I went back to HTML because it did not improve my productivity at all. I don't buy saving keystrokes since IDE's have code completion on HTML. Instead with pug I get constant indentation problems and it was harder to read that colour coded HTML in the IDE.
Pug just did not sit on my tooling at all.
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.
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.
For me, I've not had a great experience of relying on IDEs for things like that 😅 However, I imagine if I was to give emmet a serious try, that could work out.
I try to split things up atomically where possible and use a rainbow indentation extension 😅
For me, it saves me a bunch when I'm working on demos etc. It's rare I use it for work though.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have done one project with Pug but I went back to HTML because it did not improve my productivity at all. I don't buy saving keystrokes since IDE's have code completion on HTML. Instead with pug I get constant indentation problems and it was harder to read that colour coded HTML in the IDE.
Pug just did not sit on my tooling at all.
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 thanpom.xml
.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.Totally get that it's not for everyone 👍
For me, I've not had a great experience of relying on IDEs for things like that 😅 However, I imagine if I was to give
emmet
a serious try, that could work out.I try to split things up atomically where possible and use a rainbow indentation extension 😅
For me, it saves me a bunch when I'm working on demos etc. It's rare I use it for work though.