jamesshore,
@jamesshore@mastodon.online avatar

@RonJeffries @davenicolette @jasongorman

FileSystem is the only thing that should have a stub, and that stub should be a private implementation detail. You can use a flag and an if statement if you prefer... embedded stubs are optional, but often make the code cleaner.

WeatherFile (aka WeatherDataImpl) and FootballFile (aka FootballFileImpl) would have a simple createNull() that would just delegate to FileSystem.createNull().

To conclude:

6/n

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • ethstaker
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • megavids
  • GTA5RPClips
  • Durango
  • normalnudes
  • cubers
  • tacticalgear
  • cisconetworking
  • tester
  • modclub
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines