logoalt Hacker News

silvestrov • today at 10:24 AM • 4 replies • view on HN

> on some 50K lines of code

also some 3rd party libraries are overdesigned/overcomplicated because everybody wants the library to do everything for everybody.

This overcomplication can easily introduce security problems that is not present in the 1K solution.


Replies

gbear605 • today at 1:08 PM

Thinking about Log4J here. The vulnerability was with an obscure functionality that I’ve never seen used. Sometimes simpler is safer.

Of course, sometimes simpler is “I stored the passwords unhashed”, so you have to find the middle ground.

bartread • today at 11:13 AM

> overdesigned/overcomplicated because everybody wants the library to do everything for everybody.

Also a source of significant dependency churn even excluding security bugs.

Whereas with my own code I don't have to worry about scheduling work that's only arisen because somebody outside my organisation has decided to make a breaking change in a dependency. Paying that tax got old over a decade ago, and my patience with it now is close to zero.

BatteryMountain • today at 10:36 AM

100% our thinking too.

raverbashing • today at 11:14 AM

cough OpenSSL cough

➕ show 1 reply