Modeling - seandenigris/SeansPlayground GitHub Wiki
Here we are again, wrapping the GitHub model. Defining the GhProject
class with name
and owner
instVars, adding accessors... Boooooring!
It feels like this is the wrong level to address this on. How many programmers in different languages have slogged through this same process multiplied by all the APIs out there?! Wrapping chooses a point in the implementation space. I would love to meta-describe it and capture the entire space, to be automatically graphed onto the technology du jour.
But... I dipped my toe into the GitHub waters in pursuit of LiveSpec, so I will not indulge this fantasy, allowing my present work to be derailed, but I capture it here while the inspiration is fresh.
Follow up: Can I describe the relationship via e.g. PetitParser or OMeta that #httpsUrl := 'https://github.com/', project owner, '/', project name, '.git'
and have that method written out? How about in Ruby?