logoalt Hacker News

hamdingersyesterday at 6:20 PM1 replyview on HN

> do LLMs change the calculus for DRY?

Yes it makes it insanely easy to refactor duplicated logic into shared and tested modules. Why would you go the other way?


Replies

dlisboatoday at 2:09 AM

Components as in React, Vue, etc requires a complete overhaul in frontend rendering, many dependencies, changes in deployment and even have an impact in organizational structure.

If one wants to do server side rendering with HTML templates like the old days there is no real “components” way of doing it (although declarative Shadow DOM is coming along). Partials are not the same thing.

In that scenario some repetition can give you the benefit of keeping a clean stack with no client side rendering.

show 1 reply