Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Getting indentation right with editor support is trivial in Python too (in Emacs, TAB does what you describe anywhere on the line, and when there are multiple valid options, it cycles through those).

Pasting blocks into right indentation or reindenting entire blocks too. So I am glad you agree it's simple to do any of these even with significant whitespace ;)

I wouldn't know about other editors, but I'd be surprised if it's not so in every one of them.

Where indentation really matters for temp debug statements — you want to enter a block unconditionally or skip it unconditionally — there are other syntactic tricks like add `True or`, `False and`, return, continue, break, semicolon, etc. But these are all temporary examples you are giving, and this only matters if editor is not supporting you.

And that's my point: these are trivialities and I can't stop being perplexed that people get so fussy about it.

I am not sure how git plays into this? It works exactly the same for Python, it's not like Python is bf with space as the control character.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: