Hacker News new | ask | show | jobs
by Grue3 2547 days ago
Well, Lisp code can't be properly indented with just tabs. So tough luck, I guess? Why wouldn't editors programmers use allow to customize indentation space size instead? So you could set up each indentation space = 2 characters and get huge indents. Or set it to 1/2 character and get tiny indents. Seems easy to implement in e.g. Emacs.
2 comments

Why can't it? Fixed width tabs, sure, but tab stops would work fine.

It is more work in the editor, so I don't expect it anytime soon. Especially not with consistency. But it is doable.

Also, you couldn't possibly follow ruby's style guide with tabs:

https://rubystyle.guide/#indent-conditional-assignment