Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
123456789101112
  1. title: Robust JavaScript
  2. lang: en
  3. > Still, JavaScript is the most brittle of all front-end web technologies. An important skill of a front-end developer is to know when *not* to solve a problem with client-side JavaScript. It is always more robust to solve a problem further down in the stack.
  4. >
  5. > If all techniques and tools did not help you to write robust JavaScript, consider reducing the code complexity and the amount of code. In the last resort, reduce the usage of client-side JavaScript. Find simpler solutions that rely on HTML, CSS and server-side logic alone.
  6. >
  7. > <cite>*[Robust Client-Side JavaScript](https://molily.de/robust-javascript/)* ([cache](/david/cache/8fe5a8da3e34d271b28d9caa30cc8a2c/))</cite>
  8. Best. Conclusion. Ever. Before thinking about progressive enhancement, discuss if the enhancement in itself is worth the price of development, maintenance, performance, accessibility and so on.
  9. The most robust JavaScript is by far the one you avoid to push to production.