schizoidman@lemmy.ml to Technology@lemmy.mlEnglish · 5 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-square152fedilinkarrow-up1806arrow-down18
arrow-up1798arrow-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 · 5 months agomessage-square152fedilink
minus-squareFisch@discuss.tchncs.delinkfedilinkarrow-up56·5 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-25 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·5 months agoThen why not use labels? Value=“1Monday” Label=“Monday”
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up18·5 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