home.social

#objectorienteddesign — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #objectorienteddesign, aggregated by home.social.

fetched live
  1. Software makes computers do useful work. Good software does that accurately and reliably. Great software does those while making it clear to readers how it works, why it does what it does, and how it can be changed.

    #software #design #programming #SoftwareDevelopment #ObjectOrientedDesign #FunctionalProgramming #architecture

  2. The complication here is that the core algorithm is 47 lines of code. The "break" isn't easily subclassed into the middle.

    Which means the algorithm needs to be decomposed to expose the internal "while not done" so a subclass can add a condition.

    (The idea of adding an optional parameter, which appealing in some respsects is inappropriate here. This isn't a general feature for all games. It's a hack for testing.)

  3. How do we do that?

    Well, we supply software for new libraries - absolutely #freesoftware as in beer, and can even aid with some #hosting costs so there's nothing out of pocket.

    For existing libraries, which might already have systems they can't easily migrate off of, we can provide #adapters so that the MoP software can provide an #API for use in federation. The current code is setup using #objectorienteddesign to do just this - each system will need an adapter written though!