There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

AnalogyAddict , to programmerhumor in Alphabetically sorted months. But WHY?

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.

Blamemeta ,

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 ,

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.

Lifter ,

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.

AnalogyAddict ,

I'd believe that, if they weren't already paying the architect salary to have us do interior design. They hire us, then shackle us.

VirtualAlias ,

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.

QuaternionsRock ,

Or shitty SQL.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">SELECT MAX(day_of_month), month
</span><span style="color:#323232;">FROM why_does_this_table_exist
</span><span style="color:#323232;">GROUP BY month
</span>
lowleveldata , to programmerhumor in Alphabetically sorted months. But WHY?

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

tiredofsametab ,

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

lugal ,

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

Perry , (edited ) to programmerhumor in Alphabetically sorted months. But WHY?
@Perry@kbin.social avatar

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.

parpol , to programmerhumor in Alphabetically sorted months. But WHY?

They probably store the months as strings rather than integers or enums with string representations/localizations

DM_Gold , to programmerhumor in Alphabetically sorted months. But WHY?
@DM_Gold@lemmy.dbzer0.com avatar

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

InverseParallax ,

Imagine being able to autocomplete months.

flamingarms ,

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

kite , to programmerhumor in Alphabetically sorted months. But WHY?

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

darvocet , to programmerhumor in Alphabetically sorted months. But WHY?

For organization?

sentient_loom , to programmerhumor in Programming Languages
@sentient_loom@sh.itjust.works avatar

We live in clown world

hrxbfrnuructdny , to programmerhumor in Programming Languages

Python knows where the real threat is.

Coreidan , to programmerhumor in optimal java experience

This thread reminds me that most “developers” are terrible and don’t take the time to understand the language.

All of these Java developers you guys hate is the result of schools pushing out idiots. It’s not the language but rather the type of people you hire. These people will suck at writing in any language regardless of what order they try.

cloudy1999 ,

Agreed, good tools can be used badly. Over the years I’ve written Java, C++, and PHP professionally, and I’ve seen excellent and horrible impls in each. Today, I mostly use Java and this thread is reminding me that I need to learn a new for-fun language.

loutr ,
@loutr@sh.itjust.works avatar

Learn kotlin, it’s awesome and runs on literally everything.

clutchmatic ,

Kotlin won’t save your skin if the code you wrote should be performant but you layered it into a heap of abstract classes, interfaces, factories, etc and, realistically, no one else would use or expand on that

loutr ,
@loutr@sh.itjust.works avatar

Sure, but nobody codes like that in kotlin (or in modern Java for that matter)

vrighter , to programmerhumor in Programming Languages

python in the same league as cpp, rust and c# is the real joke

rms1990 ,

Pfhhh what?

vrighter ,

it is a horribly slow, ugly language, with the most braindead scoping rules (apart from js, of course). The only fast parts of it are libraries written in other languages, because python itself is not up to the task for anything more than glueing code from other, better languages together.

nothacking ,

Honestly JS seams saner then python, it’s wierd but rather sane. The only really bad parts of JS are the type coercing == and =! operators which are very broken

For example “” == 0 and 0 == “0” are both true, but “0” == “” is false.

vrighter ,

this is an unpopular opinion of mine, but I think lua is, in turn, a saner version of js. Apart from the 1-based indexing (which really isn’t that big a deal imo). But I really love the stackful coroutines.

Faresh ,

I haven’t worked with any 1-based indexing languages, but I can’t really see how it could be problematic. The only advantage I see about 0-based indexing is the simplicity in how the memory address is calculated. Just arr + index × sizeof(member) which I think even has its own MOV instruction on x86. But besides that I can’t see any more advantages. With 1-based indexing I see the advantage of the number of elements also being the index of the last element of the array, avoiding off-by-one errors when writing. Though, again, I’ve never used a 1-based indexing language.

lasagna , to programmerhumor in optimal java experience
@lasagna@programming.dev avatar

In most programming I have done, we treat the users as the dumb mofos. In Java, the programmers are treated as the dumb mofos. As a dumb mofo, I have a great dislike toward Java’s standard development ecosystems.

Zellith , to programmerhumor in Programming Languages

Im just over here in the corner trying to learn Java.

GlitchyDigiBun ,
@GlitchyDigiBun@lemmy.dbzer0.com avatar

peaks through the cheap stand-up office blinders from the C# “office” Can you help me debug something rq?

topperharlie , to programmerhumor in optimal java experience

lol, last time I switched jobs some years ago I did the same but in the other side, I had a side small section with level of expertise on programming languages and explicitly added java with 1/10 to send a clear message xD

(is not that radical giving that I’ve been a embedded/graphics programmer most of my career, but still, funnier than not mentioning it)

Kolanaki , to programmerhumor in Programming Languages
@Kolanaki@yiffit.net avatar

“You guys are stupid. See, they’re gonna be lookin’ for army guys.”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines