deleted by creator

@netvor@lemmy.world
link
fedilink
English
21Y

Months are an unnecessary and leaky abstraction, they don’t need to be taken seriously.

I agree with this programmer.

For organization?

Probably forgot to check the default for sort order. I’ve done that before.

DM_Gold
link
fedilink
361Y

Instead of asking “why?” consider asking “why not?”

Imagine being able to autocomplete months.

flamingarms
link
fedilink
31Y

You’re right, that is an easier question to answer!

Cold Hotman
link
fedilink
English
131Y

But WHY?

So they’re in alphabetical order.

I once got a user requirement that specifically say all drop down lists must be sorted alphabetically

eight, five, four, nine, one, seven, six, ten, three, two … ew

8, 5, 4, 9, 1, 7, 6, 10, 3, 2

AnalogyAddict
link
fedilink
21
edit-2
1Y

Speaking as a UX designer, probably because some “product manager” decided it was too expensive to override the auto- sort that was applied before the designer was brought in to “pretty things up.”

There is no tone of bitterness in my comment, honestly there isn’t.

Im sorry. Im a front end dev, i wish i could make everything pretty, but theres just too many meetings and too much process for everything to get much done.

AnalogyAddict
link
fedilink
3
edit-2
1Y

Haha! Exactly! I do some coding, too, but I can’t think like a UXer and a dev at the same time.

It’s the “making it pretty” part that makes me bitter. That is the LEAST part of what we do.

It’s like asking an architect to come in and fix the building after it’s already mostly built. Bad PMs insist on seeing us like interior decorators, but we are primarily architects.

They don’t want to pay architect salary to do decorating work and I fully agree. Problem is that stuff like this are often overlooked until someone makes a fuss about it, costing PR. The other 90 % of the overlooked stuff is never found though so it’s still a good decision to skip stuff like this.

Yeah, I was going to say they just left a default alphabetical sort to their global droplist component and called it a day. Probably works fine in most contexts, but this one - not so much.

Or shitty SQL.

SELECT MAX(day_of_month), month
FROM why_does_this_table_exist
GROUP BY month
Perry
link
fedilink
7
edit-2
1Y

They are probably reusing a component that happens to sort its entries alphabetically, since that is most commonly the expected behaviour. If the form is configured in a CMS, whoever built it might not even know it’s happening and has entered the data properly, but it gets resorted in the presentation layer. It’s also not impossible that the behaviour of the component has changed at some point and this particular case didn’t have test coverage or wasn’t actually part of the specification.

Obviously it’s a an act of protest so the months are officially remade to be alphabetically ordered.

Can’t we just call them month 1 to month 12 like CJK languages do?

But in alphabetical order: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

This is not even in alphabetical order, three couldn’t be before the four.

@lugal@sopuli.xyz
link
fedilink
English
21Y

Computers sometimes sort in this logic: “1” is the first digit so everything that starts with “1” comes first. Alphabetical in this sense, not the names of the numbers written out as done in another comment under this post.

Which is why ISO 8601 is superior.

Oh, why i didn’t consider that, my education background didn’t help i guess, thank you.

No, it has to be month 0 to 11.

My birthday still lands in the middle of the year. Poor me

Unpopular opinion: the person in charge of that menu hates everyone. :)

akari
link
fedilink
31Y

thats neither unpopular not an opinion. that’s a well-known fact

Everyone is saying this was impossible to solve without fixing the underlying tool, but just writing a prefixes from 01 to 12 would have been my solution.

Now you don’t even need to remember the months to select the correct one.

Finally, I can find the month I want!

Now to enter my phone number…

Finally! A worthy opponent!

LaggyKar
link
fedilink
41Y

Why even make a dropdown? It would be quicker just to type a number

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog