Hacker News new | ask | show | jobs
by zwkrt 1292 days ago
Agreed. This is one of the few articles that I’ve read this month that is really caused me to reflect on my own systems.

The insight that

  open(“foo.txt”)
is, from the perspective of component analysis, actually secretly

  open(filesystem, access_level, “foo.txt”)
is worth its weight in gold. I feel like I understand more about system design, capability-based permissions, and my own code.

Realistically it won’t immediately change the way I program and I won’t be running to the terminal to refactor my current codebase, but it’s like I’ve been clued in to a whole new class of code smells.