this post was submitted on 15 Sep 2023
632 points (98.2% liked)

Programmer Humor

37046 readers
177 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] dauerstaender@feddit.de 105 points 2 years ago (1 children)

Might as well roll the dice for order every time a user loads the page.

[–] Pechente@feddit.de 65 points 2 years ago (2 children)

We definitely need a "bad UI battles" community here.

[–] Xylight@lemmy.xylight.dev 16 points 2 years ago* (last edited 2 years ago) (1 children)
[–] drcobaltjedi@programming.dev 6 points 2 years ago

I'm so glad you guys remember that sub. I miss the silly things you guys made.

[–] RacoonVegetable@reddthat.com 61 points 2 years ago (2 children)

DONT SPEAK TO MY OR MY ISO 8601 EVER AGAIN! 🤬🤧😢

[–] Kata1yst@kbin.social 11 points 2 years ago (1 children)

I hope you mean RFC 3339 instead of that non-authoritative ISO crap 😤

[–] RacoonVegetable@reddthat.com 16 points 2 years ago (2 children)

You mean the standard defined by The Internet Engineering Task Force? Of course I do! The ISO name is just more popular.

[–] skullgiver@popplesburger.hilciferous.nl 13 points 2 years ago* (last edited 2 years ago) (1 children)

[This comment has been deleted by an automated system]

load more comments (1 replies)
[–] azimir@lemmy.ml 6 points 2 years ago (1 children)

Love the smell of a good standards body fight in the morning (0900 GMT+0).

[–] RacoonVegetable@reddthat.com 6 points 2 years ago (2 children)

You mean 1694768400 in Unix timestamp?

load more comments (2 replies)
load more comments (1 replies)
[–] ArtVandelay@lemmy.world 47 points 2 years ago (2 children)

12-12-12

Just to keep you guessing

[–] palordrolap@kbin.social 31 points 2 years ago

Then you feed {12,12,12} to the API and it turns it into 1970-01-01T12:12:12UTC

[–] skullgiver@popplesburger.hilciferous.nl 9 points 2 years ago* (last edited 2 years ago)

[This comment has been deleted by an automated system]

[–] Thrickles@lemm.ee 47 points 2 years ago (2 children)

At least it's not a phone number entry via slider.😤

[–] Crackhappy@lemmy.world 12 points 2 years ago

The fuck you just say to me, you son of a bitch?

[–] Darkassassin07@lemmy.ca 38 points 2 years ago (1 children)

It's the 21st of 1946, June.

[–] bufordt@sh.itjust.works 12 points 2 years ago

Who the FUCK is June? You cheating bastard!

[–] peto@lemm.ee 23 points 2 years ago* (last edited 2 years ago) (1 children)

Nah, worst is palindrome interpolated ymdyydmy

load more comments (1 replies)
[–] flango@lemmy.eco.br 14 points 2 years ago (5 children)
[–] BleatingZombie@lemmy.world 41 points 2 years ago (1 children)
[–] PlexSheep@feddit.de 14 points 2 years ago (1 children)

Rfc3339 is the way. Mathematical superiority is on our side.

[–] Fogle@lemmy.ca 7 points 2 years ago

Auto alphanumerical sequencing

[–] RickyRigatoni@lemmy.ml 10 points 2 years ago

Y/D/Y/M/Y/M/Y/D

load more comments (3 replies)
[–] Rhllor@feddit.de 10 points 2 years ago (1 children)

At this point, just go full bananas and use SEP-2023/15

load more comments (1 replies)
[–] darklamer@lemmy.dbzer0.com 10 points 2 years ago (1 children)

Is that not the format that's actually used in the US? I mean, it's utterly insane, but a lot of people really are used to having the components of the date in random order.

[–] Still@programming.dev 5 points 2 years ago (9 children)

nope, we use the format that matches the words spoken so Friday September 15th, 2023 would be Fri 9/15/2023 sometimes the year is shortened

[–] fushuan@lemm.ee 27 points 2 years ago (1 children)

take into account that your "words spoken" isn't necessarily how other say it. For me, saying 15th of july of 2023 sounds way more natural in english.

[–] blackn1ght@feddit.uk 6 points 2 years ago (1 children)

I wonder if they have a special rule to use dd/mm/yyyy on the 4th of July.

load more comments (1 replies)
load more comments (8 replies)
[–] Pxtl@lemmy.ca 7 points 2 years ago (2 children)

We must know: how many digits is the year? And when they're displayed later, do they use slashes or hyphens? I want to really breathe in the awful.

[–] el_bhm@lemm.ee 7 points 2 years ago (2 children)
  1. 1970-1999 - 4 digits.
  2. 2000+ - 2 digits.
  3. No separators
load more comments (2 replies)
load more comments (1 replies)
[–] slazer2au@lemmy.world 6 points 2 years ago (1 children)

Na, month data year is still the worse.

[–] BorgDrone@lemmy.one 12 points 2 years ago (2 children)

What about month year day ?

load more comments (2 replies)
[–] vlad76@lemmy.sdf.org 5 points 2 years ago* (last edited 2 years ago) (5 children)
[–] likeaduck@programming.dev 8 points 2 years ago (4 children)
[–] redditReallySucks@lemmy.dbzer0.com 13 points 2 years ago (1 children)
[–] Bene7rddso@feddit.de 8 points 2 years ago (2 children)

no, the best is YYYY-MM-DD

That's what I use but the dashes aren't the most important part

[–] likeaduck@programming.dev 5 points 2 years ago (1 children)
load more comments (1 replies)
load more comments (3 replies)
load more comments (4 replies)
load more comments
view more: next ›