|
I also used Fortran77 in tech school. You're right, I don't recall them saying anything about spaces being ignored in those columns.
One of my cousins created (or co-created, I don't remember) PDE2D using Fortran. The latest Windows version uses v11, and the Linux and Mac version use various flavors of GNU GFortran.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
The last time I wrote assembly code was on an XT box (8088 processor) using edlin. I barely remember what I ate for dinner yesterday, much less code from 40 years ago. I do remember loving to code that close to the hardware.
And thanks for reminding me that I'm old as dirt.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Never, always been a tab then the op code. Labels start in the first column.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Hmm. My last significant bit of assembly language was an OS/2 device driver written in Intel assembly language, flat memory model (yay!).
There were a few places in the driver that implemented algorithms I originally (pseudo)coded in C. Those places tended to use indentation that resembled the original C.
Indentation was not my practice throughout.
Software Zen: delete this;
|
|
|
|
|
Wordle 488 5/6
⬛⬛⬛⬛🟨
⬛⬛🟨⬛⬛
⬛🟨🟨🟨🟨
🟨🟩🟨🟩⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 488 4/6
⬜⬜🟨🟨🟨
🟨⬜⬜⬜⬜
🟨🟨🟩🟨🟨
🟩🟩🟩🟩🟩
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 488 4/6
⬛⬛⬛⬛🟨
⬛🟨⬛🟨🟨
⬛🟩🟨🟨⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 488 4/6
⬜⬜🟨⬜🟨
🟨🟨⬜🟨⬜
🟨🟨🟩🟨⬜
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 488 5/6
⬜🟨🟨🟨⬜
🟩⬜🟨🟨⬜
🟩🟩🟨⬜⬜
🟩🟩⬜🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 488 3/6
⬜⬜⬜⬜🟨
⬜🟨⬜🟨🟨
🟩🟩🟩🟩🟩
I was lucky today!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: I was lucky today!
and I started with the other half of the palindrome!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Ooo! 4 yellow and a green? Nice - I've not had that combo.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 488 5/6
🟨⬛⬛⬛⬛
⬛⬛🟨⬛⬛
⬛⬛⬛🟨⬛
⬛🟨🟨🟨🟨
🟩🟩🟩🟩🟩
Huh.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Wordle 488 4/6*
⬜⬜⬜🟨🟨
🟨⬜⬜🟨🟨
🟩🟩🟨⬜⬜
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 488 2/6
⬜⬜🟨🟩⬜
🟩🟩🟩🟩🟩
Did in two
|
|
|
|
|
Wordle 488 4/6
⬜⬜🟨🟨⬜
⬜⬜🟨⬜🟨
🟨🟨🟩🟨⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 488 4/6*
⬜⬜🟨⬜⬜
⬜⬜🟨🟨🟨
🟨🟨🟩🟨⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Quick survey...
How many of you uses tabs vs spaces to indent your code?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Probably none. I expect everyone just chooses one or the other.
Edit: Oh, wait, maybe I did... When I wrote DCL, I used a TAB for the first indent and then SPACEs after that. Does that count?
|
|
|
|
|
I use the TAB key to insert SPACES.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
|
We all do. We all use one or the other, perhaps even both.
But to answer your question, I use spaces. I generally set up the IDE to sub 4 spaces for a tab.
|
|
|
|
|
FreedMalloc wrote: I generally set up the IDE to sub 4 spaces for a tab.
Infidel! All right-minded people know that a tab stop is every 8 spaces! Anything else is heresy! Your immortal soul will be condemned to an eternity in an infinite loop unless you repent!
Keep Calm and Carry On
|
|
|
|
|
Splitter! The Real Distance is obviously 3 spaces per tab.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Nah I like a tight real estate, 2 spaces per tab works best.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|