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

Programmer Humor

19623 readers
2719 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
[–] whotookkarl@lemmy.world 87 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.

[–] Hazzia@discuss.tchncs.de 33 points 7 months ago

I've done 2 of those things already. If I ever have to tac on the timezones I will actually break.

[–] lea@feddit.de 14 points 7 months ago (1 children)

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

[–] oce@jlai.lu 5 points 7 months ago (1 children)

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

[–] zerofk@lemm.ee 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.

[–] oce@jlai.lu 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?

[–] zerofk@lemm.ee 4 points 7 months ago (1 children)

That’s another benefit: no more meetings.

[–] oce@jlai.lu 1 points 7 months ago

Not even to spend good times with friends?

[–] barsoap@lemm.ee 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.

[–] dan@upvote.au 2 points 7 months ago (1 children)

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

[–] NerfHerder@lemm.ee 1 points 7 months ago