logoalt Hacker News

handzhiev04/24/20253 repliesview on HN

No, because it's usually a few years old and already obsolete - the frameworks and the language have gone through a gazillion changes and what you did in 2021 suddenly no longer works at all.


Replies

moooo9904/24/2025

I mean, the training data also has a cutoff date and changed beyond that are not reflected in the code suggestions.

Also, I know that people love to joke on modern software and JS in particular. But if you take react code from 2020 and drop it into a new react codebase it still works. Even class based components work. Yes, if you jumped on the newest framework bandwagon every time stuff will break all the time, but AI won’t be able to help you with that either. If you went for relatively stable frameworks, you can re use boilerplate completely or with relatively minimal adjustments

show 2 replies
jay_kyburz04/24/2025

lol, I've been cutting and pasting from the same projects I started in 2010. When you work in vanilla js it doesn't change.

asdff04/24/2025

Ehh most people are good about at least throwing a warning before they break a legacy pattern. And you can also just use old versions of your tools. I'm sure the 2021 tool still does the job. Most people aren't working on the bleeding edge here. Old versions of numpy are fine.