Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You shouldn't NEED to go out and look for an already done solution if it's elementary and takes minutes, if that, to write. Ever.

If writing it would take minutes and adding the dependency would take seconds, add the dependency. And how long it takes to look for is beside the point - code is read more than it's written, so how long it takes to read is much more important.

> This doesn't even make sense. What are you trying to convey here? The more dependencies you can cut out the more reproducible your builds will be. Period. Which is important when you're dealing with code that gets rapidly deployed to many production boxes.

No, look, if you have some kind of problem where dependencies maker your builds unreproducible or break your deployments, you need to fix that problem. If you have that problem when you have 100 dependencies, you're still going to have that problem when you have 90 dependencies. Unless you're going to cut every dependency, cutting dependencies is not the way to fix that problem.

> What's next, are you going to outsource all your for and while loops to a module? You know, so you have less things to "maintain"?

for and while probably should be ordinary functions (smalltalk style) and probably should be in a library somewhere rather than having everyone reimplement them, yes. Almost all languages have a for or while in their standard library so I don't know what you're really saying?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: