4 ms·FileInfo is an interface, isn't it? You could populate fields other than "name" lazily, right?by tptacek 6y agoFileInfo is an interface, isn't it? You could populate fields other than "name" lazily, right?TheDong 6y agoYou can't because the interface doesn't allow any errors. Lazily populating data is usually fallible, and the interface's methods are all infallible.tptacek 6y agoOK, I'm convinced. Not a great interface, should just return an iterator.