this post was submitted on 03 Feb 2020
238 points (98.0% liked)

Programmer Humor

31791 readers
124 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
238
Tabs vs Spaces (lemmy.ml)
submitted 4 years ago* (last edited 4 years ago) by [email protected] to c/[email protected]
 
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 17 points 1 year ago (2 children)

Loving these 3 year old posts on the "Hot" view. (Not sarcasm, these are great)

[–] [email protected] 6 points 1 year ago

It's like when youtube recommends a 9 year old video and all the comments are from the last month lol

[–] [email protected] 4 points 1 year ago (1 children)

@davidgro @AgreeableLandscape

Are you using hot or active? If you're using active it is because someone posted a comment, as it works via most recent comment instead of post date

[–] [email protected] 6 points 1 year ago (2 children)

They show up in Hot too. Probably because someone on this server loaded the post to make that comment, so it got imported to the server. I guess Hot sorts based on (score and) "new to me", not "new".

[–] [email protected] 2 points 1 year ago

I'm just here for the moment. Keep it up.

[–] [email protected] 1 points 1 year ago

@Perhyte

oh that might be the case that it is new to the server. I didn't even think about that.

[–] [email protected] 10 points 1 year ago (1 children)

Enable "Show whitespace characters" master race!

[–] [email protected] 6 points 1 year ago

Exactly. I only started doing this maybe in the past year and since then I've become so anal about consistency with my whitespace lol.

[–] [email protected] 4 points 1 year ago

I do 8 spaces to make my code ultra-readable and to discourage too much nesting of things.

[–] [email protected] 4 points 1 year ago (1 children)

It’s easier to do Fibonacci indentation with spaces. https://imgur.com/gallery/JrSd8WS

[–] [email protected] 7 points 1 year ago

I was hoping that link would have been an example of what that would look like

https://devhumor.com/content/uploads/images/October2016/fibbonaci-indentation.jpg