schizoidman@lemmy.ml to Technology@lemmy.mlEnglish · 8 months agoModern web bloat means some pages load 21MB of data - entry-level phones can't run some simple web pages, and some sites are harder to render than PUBGwww.tomshardware.comexternal-linkmessage-square146fedilinkarrow-up1792arrow-down18cross-posted to: [email protected]
arrow-up1784arrow-down1external-linkModern web bloat means some pages load 21MB of data - entry-level phones can't run some simple web pages, and some sites are harder to render than PUBGwww.tomshardware.comschizoidman@lemmy.ml to Technology@lemmy.mlEnglish · 8 months agomessage-square146fedilinkcross-posted to: [email protected]
minus-squareFisch@discuss.tchncs.delinkfedilinkarrow-up55·8 months ago it has stupid things like weekdays sorted alphabetically Holy shit, that’s stupid. Why would you even do this in the first place?! I can’t comprehend how anyone could come to the conclusion that that’s a good way to sort it.
minus-squareFranklin@lemmy.worldlinkfedilinkarrow-up53·edit-28 months agoalphabetically was probably the default sorting method for an array of data and they didn’t bother to fix it, just my guess.
minus-squareThis is fine🔥🐶☕🔥@lemmy.worldlinkfedilinkarrow-up4arrow-down6·8 months agoThen why not use labels? Value=“1Monday” Label=“Monday”
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up18·8 months agoThat’s even more work than skipping the “weekdays” array wherever the sorting happens
Holy shit, that’s stupid. Why would you even do this in the first place?! I can’t comprehend how anyone could come to the conclusion that that’s a good way to sort it.
alphabetically was probably the default sorting method for an array of data and they didn’t bother to fix it, just my guess.
Then why not use labels?
Value=“1Monday” Label=“Monday”
That’s even more work than skipping the “weekdays” array wherever the sorting happens