schizoidman@lemmy.ml to Technology@lemmy.mlEnglish · 9 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-square154fedilinkarrow-up1806arrow-down18cross-posted to: tecnologia
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 · 9 months agomessage-square154fedilinkcross-posted to: tecnologia
minus-squareFisch@discuss.tchncs.delinkfedilinkarrow-up56·9 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-29 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·9 months agoThen why not use labels? Value=“1Monday” Label=“Monday”
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up18·9 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