News for hackers. Stuff that matters.
Re:4B If Statements by umanwizard on Thursday December 28, 2023 @07:52AM (#38792979)
It seems very uncharitable to describe someone as a “spammer” because their philosophy on the proper size of units of code reuse is different from yours.
Re:4B If Statements by Y_Y on Thursday December 28, 2023 @10:29AM (#38794344)
It seems overly charitable to me to frame the dispute in those terms. You and I might differ as to the appropriate amount of vermouth in a martini or pineapple on a pizza and I won't worry much about it, within reason.

There's a limit though! I think up to about 10% pineapple by weight is reasonable for a Hawaiian, if you choose 0 or 20% then we'll have no issue. If you went to 30% I don't think I could stop myself writing a libellous remark on hn. Anything about 50% and I would be morally forced to denounce you to the proper authorities. About 80% is where the nightmares begin.

Re:4B If Statements by hex4def6 on Thursday December 28, 2023 @02:38PM (#38797602)
At a certain point, isn't it just grilled pineapple with pizza crumbs?
Re:4B If Statements by pc86 on Thursday December 28, 2023 @10:33AM (#38794392)
Even if you think having a dependency load `is_even()` is a good thing, surely you can see how it's pretty hard to defend having a completely separate and nearly identical `is_odd()` rather than just `!is_even()`
Re:4B If Statements by Exoristos on Thursday December 28, 2023 @07:40PM (#38800502)
The argument is that non-programmers like his wife don't understand e.g. `!`.
Re:4B If Statements by pc86 on Saturday December 30, 2023 @09:25AM (#38815479)
I think if you're installing npm packages and writing code you're a programmer whether you want to be or not.