Tabs, or spaces?

Forum for alternative clients, mods & discussions on the same.

Tabs, or spaces?

Postby rfxDarth » Mon Jan 27, 2025 10:51 pm

MUSHROOMS!

Image
User avatar
rfxDarth
 
Posts: 69
Joined: Tue Mar 09, 2010 4:13 pm

Re: Tabs, or spaces?

Postby stya » Wed Jan 29, 2025 12:14 am

Loftar be like:

Image

Also never format the code :lol:
Image
User avatar
stya
 
Posts: 993
Joined: Wed May 21, 2014 3:13 pm

Re: Tabs, or spaces?

Postby Nightdawg » Wed Jan 29, 2025 3:31 pm

I always use tabs but I learned programming only from loftar's code
He uses both for some reason he specified somewhere
User avatar
Nightdawg
 
Posts: 2205
Joined: Fri Feb 28, 2020 12:31 am

Re: Tabs, or spaces?

Postby Hickupp » Thu Jan 30, 2025 6:54 pm

Those that still default to Spaces ... Are to old to play this game.

Mixed ... That's just laziness.
Hickupp
 
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Tabs, or spaces?

Postby meabeab » Thu Jan 30, 2025 10:02 pm

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
User avatar
meabeab
 
Posts: 94
Joined: Fri Mar 26, 2021 9:06 pm

Re: Tabs, or spaces?

Postby rfxDarth » Fri Jan 31, 2025 1:08 am

Hickupp wrote:Those that still default to Spaces ... Are to old to play this game.

Mixed ... That's just laziness.


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.

Image

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...
User avatar
rfxDarth
 
Posts: 69
Joined: Tue Mar 09, 2010 4:13 pm

Re: Tabs, or spaces?

Postby Hickupp » Fri Jan 31, 2025 4:45 am

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.

Was more thinking it was human generated mixed indentation ... although that idea lost its logic after giving it some more thoughts.
So it was just the/some ide auto-indentation at work (ie: 8 spaces indentation -> make Tab).
Hickupp
 
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am


Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 73 guests