News for hackers. Stuff that matters.
Re:Nobody's just reading your code by panic on Tuesday February 27, 2018 @01:26AM (#16471475)
That's one thing that bothers me about modern Electron-style apps which depend on an entire web rendering engine -- actually digging through all the dependencies to track down a bug can be almost impossible. For example, I was hitting a bug in an Electron app a while back and wanted to track it down. I got the app building with a locally-built version of Electron, but it became clear the real bug involved Chromium's loader code. My poor 4-year-old laptop ran out of disk space before I could even download the whole libchromiumcontent repository, let alone build it!
Re:Nobody's just reading your code by hinkley on Tuesday February 27, 2018 @01:49AM (#16471554)
I don’t think Library designers have adapted yet to a library heavy world. We still write them like we are using dozens but we have hundreds.

Every library demands a fraction of our attention greater than its relative fraction of the code. Complex calling conventions, deep call stacks.

Why am I even using a single purpose library with multiple levels of abstraction in it? At this point a library should BE the abstraction, not contain them. I have to trace code through my code into yours into your dependencies. Just stop already. Keep It Simple Stupid.

Re:Nobody's just reading your code by gaius on Tuesday February 27, 2018 @03:37AM (#16471954)
I don’t think Library designers have adapted yet to a library heavy world. We still write them like we are using dozens but we have hundreds.

The other day I was debugging an app that - no joke - pulled in 600M of libraries that were all so it could use one file parsing function that could have been re-implemented in <100 lines. Crazy!