5 ms·
Bam-bam-bam-bam. Sorry can hear you over all the whitespace I have to type.
by paulddraper 10y ago
Bam-bam-bam-bam. Sorry can hear you over all the whitespace I have to type.
- adrianN 10y agoEvery editor worth its salt does this for you. Maybe try upgrading from ed.
- Walf 10y agoIf only there was a way not to have to rely on editors all behaving the same with leading spaces. Oh wait, there is a way: indent with tabs.
- adrianN 10y agoI also prefer tabs. I'm just saying that "I have to wear out my spacebar" is not a good argument.
- paulddraper 10y ago"This is a good decision because we've forced every editor to handle this good decision well."
- btschaegg 10y agoYeah, indenting with spaces wastes so many punch cards! Oh, wait.
- rbanffy 10y agoActually, a punch card used to represent a single line. But you'd be wasting holes.
- btschaegg 10y agoNot that I've ever used one, but I wouldn't expect someone to indent any code on a punch card. I just felt the comment was suiting since it must have been about when they were still used that you couldn't automate indentation.
- rbanffy 10y agoIn FORTRAN 77, it'a syntax error to put a statement before column 7
- btschaegg 10y agoInteresting! Can you explain why that is the case? Were the first 6 characters reserved for the line number or goto marks?
- rbanffy 10y agoYes. Columns 1 to 5 are for labels. Column 6, if it has any character there (usually "$"), marks a continuation from the previous line. I think the column 6 rule and line continuations were removed for FORTRAN 95.