news.volyx.in

Why is modern web development so complicated? (vrk.dev)

819 points by bibyte · 2630 days ago · 711 comments on HN

Article summary

The article discusses the complexity of modern web development, tracing its evolution from simple static websites to the current state of using tools like Babel to compile JavaScript code for cross-browser compatibility. The author explains how the limitations of JavaScript and the Web APIs led to the development of libraries like jQuery and later improvements to JavaScript itself. The article highlights the separation between development code and release code in modern frontend web development. The author promises to explore npm modules and bundling in a future post.

Main themes

  • complexity of web development
  • evolution of JavaScript
  • cross-browser compatibility
  • frontend development workflows
  • separation of development and release code

What commenters say

  • Some developers find frontend development more complicated than backend development due to the complexity of the DOM and CSS.
  • Others argue that the complexity of frontend development is not inherently greater than backend development, but rather a matter of different problem spaces and skill sets.
  • The use of tools like Babel and CSS preprocessors can simplify frontend development, but also introduce additional complexity.
  • Debugging frontend code can be more challenging than backend code due to the lack of control over the environment and the need to deal with browser-specific issues.
  • The perception of frontend development as easier or less complex than backend development can lead to underappreciation of its challenges and difficulties.
  • The use of source maps and modern development tools can mitigate some of the complexity and difficulties of frontend development.
  • Some developers prefer the predictability and control of backend development over the unpredictability of frontend development.