# Why not adopt "Python Style" indentation for Ruby?

**URL:** <https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458>\
**Category:** Ruby\
**Created:** [May 18, 2007, 9:26am UTC](https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458 "2007-05-18T09:26:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![chrisdwan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/7feea3/32.png) [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Post date:** [May 18, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458/5 "2007-05-18T12:50:59Z")

</div>

- tab/space mixture
- templates, e.g. eRuby
- expression with code chunk, e.g lambdas and blocks
- clipboards, email, pastebins, and other places where the code is not  
preserved literally
- code generators

tabs can be made forbidden (g.v.rossum himself said he’d never  
supported tabs in the first place if he new what it would cauze)

maybe it can be made optional. or one could write a little conversion  
script.

i agree python’s indentation looks clean. yet i have experienced  
allmost all of the above mentioned “cons”…

\_c.

---

_[View the full topic](https://www.ruby-forum.com/t/why-not-adopt-python-style-indentation-for-ruby/104458)._
