Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2021-03-16 - Confort.md 2.2KB

3 anni fa
1234567891011121314151617
  1. # Confort
  2. > [en] Developers, particularly in Silicon Valley firms, are definitionally wealthy and enfranchised by world-historical standards. Like upper classes of yore, comfort ("DX") comes with courtiers happy to declare how important comfort must surely be. It’s bunk, or at least most of it is.
  3. >
  4. > As frontenders, ==our task is to make services that work well for all, not just the wealthy==. If improvements in our tools or our comfort *actually* deliver improvements in that direction, so much the better. But we must never forget that measurable improvement for *users* is the yardstick.
  5. >
  6. > <cite>*[The Mobile Performance Inequality Gap, 2021](https://infrequently.org/2021/03/the-performance-inequality-gap/)* ([cache](/david/cache/2021/d3a653c926aa97707653300947b65ab5/))</cite>
  7. Pour résumer, le budget réactualisé de la décence serait de <q>~100KiB (gzipped) of HTML/CSS/fonts and 300-350KiB of JavaScript on the wire (compressed)</q>. Un demi méga-octet transféré et si on a bien fait son travail on espère que ça ne donne pas une expérience trop fastidieuse en-deçà du 75<sup>e</sup> centile.
  8. Je viens de vérifier et on est à 469 Ko sur [MesConseilsCovid](https://mesconseilscovid.sante.gouv.fr/). On a dû faire des choix assez drastiques pour cela : pas de *framework*, des dépendances limitées, etc. Est-ce que c’est inconfortable pour autant ? Parfois, et dans ces moments je me rappelle que mon « inconfort » est au service de l’accessibilité du produit pour lequel je travaille.
  9. Et j’y accorde davantage d’importance.
  10. > [en] Getting there involves no small amount of class traitorship; ==the frontend community will need to value the commons over personal comfort== for a little while longer to ease our ecosystem back toward health. The past 6 years of consulting with partner teams has felt like a dark remake of Groundhog Day, with a constant parade of sites failing from the get-go thanks to Framework + Bundler + SPA architectures that are mismatched to the tasks and markets at hand. Time (and chips) can heal these wounds if we only let it. We only need to hold the line on script bloat for a few years for devices and networks to overtake the extreme, unconscionable excesses of the 2010’s.
  11. >
  12. > <cite>*Ibid.*</cite>