by tonto · 3y ago · 0 comments
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.