
-
stya
- Posts: 1037
- Joined: Wed May 21, 2014 3:13 pm
-
Nightdawg
- Posts: 2632
- Joined: Fri Feb 28, 2020 12:31 am
Re: Tabs, or spaces?
I always use tabs but I learned programming only from loftar's code
He uses both for some reason he specified somewhere
He uses both for some reason he specified somewhere
"Our primary development direction is toward object-controlled-objects"jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
-
Hickupp
- Posts: 178
- Joined: Thu Oct 15, 2020 6:33 am
Re: Tabs, or spaces?
Those that still default to Spaces ... Are to old to play this game.
Mixed ... That's just laziness.
Mixed ... That's just laziness.
-
meabeab
- Posts: 147
- Joined: Fri Mar 26, 2021 9:06 pm
Re: Tabs, or spaces?
You can see some pattern in this laziness tho, like another level of binary sequence. We can only wonder what data might be stored there
-
rfxDarth
- Posts: 101
- Joined: Tue Mar 09, 2010 4:13 pm
Re: Tabs, or spaces?
I, myself, am spaces connoisseur, precisely because I was navigating the source code like this the whole time thinking it was supposed to look like this and just followed some insane formatting style.Hickupp wrote:Those that still default to Spaces ... Are to old to play this game.
Mixed ... That's just laziness.

It wasn't until I opened it in a different IDE with 8-space tabs default and noticed that it didn't look as ridiculous as before and enabled whitespace highlighting.
It's not just laziness, though. It is pretty consistent at squashing all 8 spaces into tabs while leaving the remaining 4 spaces intact.
Still insane, but not as insane as writing the whole codebase without indentation like it's FORTRAN or something...
-
Hickupp
- Posts: 178
- Joined: Thu Oct 15, 2020 6:33 am
Re: Tabs, or spaces?
Was more thinking it was human generated mixed indentation ... although that idea lost its logic after giving it some more thoughts.rfxDarth wrote:It's not just laziness, though. It is pretty consistent at squashing all 8 spaces into tabs while leaving the remaining 4 spaces intact.
So it was just the/some ide auto-indentation at work (ie: 8 spaces indentation -> make Tab).

