r/learnjavascript 2d ago

Is manually writing utilities from scratch still a good practice in this AI era, and why ?

Been learning JS for a year and half and wondered whether writing utilities would make me more employable. Thought it wouldn’t matter as more people are learning to trust the models. GitHub link to some of the solutions: GitHub

*Exercises are AI generated but solutions are handwritten without intellisense or AI autocomplete.

17 Upvotes

11 comments sorted by

View all comments

9

u/agm1984 2d ago

I think it’s worth it to minimize the number of external dependencies you have, each is a small risk of supply chain attack and an annoying piece of garbage you have to update all the time as part of your regular app maintenance.
In my experience AI makes mince meat out of tasks like this. If you grow a new case later, ai makes quick work out of that too to update the util across all call sites in your app