schizoidman@lemmy.ml to Technology@lemmy.mlEnglish · 1 year 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-up1801arrow-down18
arrow-up1793arrow-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 · 1 year agomessage-square146fedilink
minus-squareFischlinkfedilinkarrow-up56·1 year 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-21 year 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·1 year agoThen why not use labels? Value=“1Monday” Label=“Monday”
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up18·1 year 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