this post was submitted on 17 Apr 2024
1449 points (98.6% liked)

Programmer Humor

19589 readers
729 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 84 points 7 months ago (3 children)

Based on a completely superficial review there are three almost guaranteed ways to become unhinged; studying infinities, refactoring legacy code, and working with timezones.

[–] [email protected] 14 points 7 months ago (1 children)

I think it's time for a refactor of my legacy code that deals with infinite timezones. :/

[–] [email protected] 5 points 7 months ago (1 children)

That's a good idea! Instead of discrete timezones, let's have continuous timezones!

[–] [email protected] 5 points 7 months ago (2 children)

I’ve been a proponent of this for ages. It makes no sense to cross some imaginary line and suddenly time shifts. Time should change constantly as you move east or west, up or down. Everyone has their own personal time, which is constantly updated.

Bonus: no more daylight savings switch.

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

How do you agree on a meeting time with a group of people who all live in different places of your country?

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

That’s another benefit: no more meetings.

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

Not even to spend good times with friends?

[–] [email protected] 3 points 7 months ago

That was kinda the situation in the past: Every town would have its own time, synced to the local noon every once in a while as the precision of the church or townhall clock demanded. That stuck around until railroad operators and passengers got sick and tired of dealing with the timetables that produces.

[–] [email protected] 2 points 7 months ago (1 children)

I had to refactor legacy date/time code (including timezone code) at work. D:

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