News for hackers. Stuff that matters.
Re:You Don't Need by eterm on Thursday November 10, 2016 @05:46PM (#12925279)
You've enjoyed it, but those hours cost your business, and is that really worth it?

Some beliefs which are frequently displayed in these parts:

> Money on chairs / desks / PCs are no object because developers cost money, not those things

> Ship quickly and iterate

> Make it, make it work, make it fast

> Write code your successor can maintain

And then HN goes ahead and upvotes a boast about spending their (expensive) time unpicking libraries from code.

The point of "you might not need X" is to encourage package maintainers to keep their sub-package footprint small, not that end-users shouldn't use X.

I'm sure you'll be back to suggest that you've delivered "500% speed-up" or some other nonsense metric and I look forward to that.

Ultimately, custom business owned code which attempts to deliver the value of angular is just a future maintenance nightmare, and I say that as someone who really doesn't like angular.

If you really replaced angular with a "javascript one-liner" I'd like to see that line!

Re:You Don't Need by mixedCase on Thursday November 10, 2016 @05:58PM (#12925380)
I'm going to take a guess and say he won big in maintainability and performance on low-end devices.
Re:You Don't Need by failrate on Thursday November 10, 2016 @09:54PM (#12927141)
If it will operate with no js at all, then it is also more compatible with some security requirements I have. Don't get me wrong, I've always been a big fan of JavaScript, warts and all. However, in this particular instance, what should have been a simple server rendered login page was written with a full SPA application development mindset.
Re:You Don't Need by KON_Air on Thursday November 10, 2016 @06:19PM (#12925585)
I see where you are coming from, there rarely is any reason to reinvent the wheel, but at some point reducing libraries is beneficial for the long run when and if you can afford it.
Re:You Don't Need by kafkaesq on Thursday November 10, 2016 @07:11PM (#12926051)
I think the "enjoyed" part was definitely meant facetiously.

Ultimately, custom business owned code which attempts to deliver the value of angular is just a future maintenance nightmare, and I say that as someone who really doesn't like angular.

I suspect the problem the commenter is hinting at concerns situations where people think they need the "value of {angular,react,bootstrap,whatever}" when really they don't.

Re:You Don't Need by zzguy on Thursday November 10, 2016 @06:58PM (#12925945)
Just because you can't give a $ amount for the costs saved by reducing complexity, doesn't mean it doesn't have value. Simple is good.
Re:You Don't Need by nicky0 on Thursday November 10, 2016 @06:42PM (#12925804)
We all do things that aren't objectively "worth it". Was the time you took to type this post really worth it?
Re:You Don't Need by elmigranto on Friday November 11, 2016 @02:17AM (#12928665)
I wouldn't think someone's livelihood depends on worthiness of this post. In businesses, however, that often is a case.
Re:You Don't Need by nicky0 on Friday November 11, 2016 @03:49AM (#12929021)
Depends if they are on HN at work...
Re:You Don't Need by JustSomeNobody on Thursday November 10, 2016 @07:02PM (#12925979)
What about the money lost because people don't wanna use your app because it's bloated and slow?
Re:You Don't Need by kaishiro on Thursday November 10, 2016 @08:03PM (#12926416)
Who said anything about it being bloated and slow?
Re:You Don't Need by anthk on Thursday November 10, 2016 @09:41PM (#12927024)
JS is the bloat here.