Sign in
Log inSign up

Six spaces for indenting: acceptable, or bad practice?

Default profile photo
Anonymous
·Nov 6, 2018

I use six spaces for indenting all my HTML and CSS codes. Recently, a coworker said it was excessive and considered a bad practice. Is that the case? I think six spaces make it easier to identify the DOM hierarchy. I found anything less to be a productivity killer.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct