DEV Community

Discussion on: Should You Throw Away More Code than You Keep?

Collapse
 
evanplaice profile image
Evan Plaice

ProTip: If you're not under the gun of an urgent deadline. It doesn't hurt to take a few weeks to marinate on how the API should be structured.

IMO, the mark of a really well-written project is one where the API rarely -- if ever -- changes.

Historically, JS has been pretty bad about this b/c there was no way to define public vs private API endpoints prior to ES modules. Either way, the 'best' projects were those that seemed to 'just work' despite constant improvements and frequent feature releases.