r/ProgrammerHumor • • Oct 13 '26

Meme chaoticEvil

Post image
3.4k Upvotes

262 comments sorted by

View all comments

775

u/jideru Oct 13 '26

Most programmers don’t get a choice as it is the product and the ui/ux designer that pick the desired behavior. You can only fight back so much and maybe sneak it in. And 20 years later you become a cynic that just says, ok.

Don’t become cynic kids.

235

u/Blecki Oct 13 '26

20 years of watching users fuck it up and you'll switch to a date picker too.

51

u/Nick0Taylor0 Oct 13 '26

How does a user fuck up a properly validated input field that goes along with the date picker?

115

u/ThatGuyYouMightNo Oct 13 '26

Two users want to enter October 12th. One enters 12/10/2026, the other enters 10/12/2026. One of them gets pissy when it comes up as December 10th.

25

u/coderman64 Oct 13 '26

Solution: use ISO 8601 and piss off everyone equally.

4

u/Usefullles Oct 14 '26

Won’t this just be an inverted DDMMYYYY format in most cases? Like, what’s so different between the DDMMYYYY and YYYYMMDD formats? In cases where you don’t need to take hours and minutes into account, of course.

8

u/coderman64 Oct 14 '26

One of the major advantages is that if you sort YYYYMMDD in order by numerical value, it also sorts by date.

3

u/Blecki Oct 14 '26

Use 8601 for everything whenever possible

45

u/RKGamesReddit Oct 13 '26

I see sites use three different fields just to eliminate the problem

14

u/IndependenceSudden63 Oct 13 '26

This is the way.

29

u/NiIly00 Oct 13 '26

Solution: Ignore everyone that uses the moronic format mm/dd/yyyy.

They deserve it.

7

u/Triffinator Oct 13 '26

Very true. It's programmatically (and human) parseable if the middle column exceeds 12, but fails the second you are lower than 13. It also happens to work out on any dates with matching day and month.

Like, is 10/12 December 10th or October 12th?

→ More replies (14)

38

u/AshleyJSheridan Oct 13 '26

It doesn't help that one particular country in the world uses a weird date format...

17

u/PositiveInfluence69 Oct 13 '26

Right smallest to biggest

Only 12 months (smallest number)

At least 28 days (middle number)

So many years. Nobody can count that high.

👌 /s

11

u/Gilgame4 Oct 13 '26

They will, they always do

7

u/Blecki Oct 13 '26

Sometimes they just open a ticket because their poorly formatted date won't validate instead of understanding and correcting the problem

→ More replies (3)

3

u/NickWrigh Oct 13 '26

behold the power of stupidity

100

u/AibofobicRacecar6996 Oct 13 '26

How do you expect posters here to know that if they've only done school projects?

6

u/SaltyInternetPirate Oct 17 '26

I would never trust the user to follow the date format in the placeholder. Datepickers remove any ambiguity.

15

u/DefinitelyNotMasterS Oct 13 '26

In my experience UX forgot about it and it's up to the dev to decide if they want to bother or not

→ More replies (1)

4

u/Abadabadon Oct 13 '26

Why not cynic? Ive come to the realization over last 3 years of just doing what im told after I push back some. Usual line is, "hey I dont reccomend this; are you sure you want that?"

3

u/Furbuger_Helper Oct 13 '26

You have to be the one to sneak it in.

4

u/deltusverilan Oct 13 '26

What are you talking about? I was a cynic as a kid, and I never stopped.

2

u/gerbosan Oct 13 '26

But, isn't being cynical a feature of being a senior?

Senior in the craft and in life... 😨

→ More replies (3)