Switch "runnable case studies" to RunnableSoftware Systems rather than Specification systems#4304
Conversation
…-based Systems rather than Specification
|
Recall: data SystemKind =
Specification
| RunnableSoftware
| Notebook
| Website
whatsTheBigIdea :: System -> IdeaDict
whatsTheBigIdea si = whatKind' (_kind si)
where
whatKind' :: SystemKind -> IdeaDict
whatKind' Specification = nw Doc.srs
whatKind' RunnableSoftware = runnableSoftware
whatKind' Notebook = nw Doc.notebook
whatKind' Website = website
...
data System where
...
{ _sys :: a
, _kind :: SystemKind
...The SRS and Notebook artifact generators (not the website generator!) use the Switching the system "kind" from Is that wrong? I don't think so. The intention of the two systems are distinct. One is just a specification ( So how do we really go about fixing this? We need to capture more, it appears. For example: data RequirementsSpecification = ?
data SolutionSpecification = ?
data SystemKind =
Specification RequirementsSpecification
| RunnableSoftware RequirementsSpecification SoftwareSpecification
| Notebook
| Website
whatsTheBigIdea :: System -> IdeaDict
whatsTheBigIdea si = whatKind' (_kind si)
where
whatKind' :: SystemKind -> IdeaDict
whatKind' Specification{} = nw Doc.srs
whatKind' RunnableSoftware{} = runnableSoftware
whatKind' Notebook = nw Doc.notebook
whatKind' Website = websiteAt this point, the SRS artifact generator would need to inspect what kind of system it was given, assert that it was either a pure What do we think? |
|
Thinking out loud a bit more regarding: data RequirementsSpecification = ?
data SolutionSpecification = ?
|
|
I agree that something along the lines of data SystemKind =
Specification RequirementsSpecification
| RunnableSoftware RequirementsSpecification SoftwareSpecification
| Notebook
| Websiteis the way to go. Each system kind has its own set of choices -- I'm sure |
JacquesCarette
left a comment
There was a problem hiding this comment.
Definitely agree that those 5 examples should all be RunnableSoftware.
|
Stable has changed, and I don't think in a good way. Something that used to be titled "Software Requirements Specification" is now called "Runnable Software" and that's not the intent. The 'system kind' is correctly 'runnable software' but the SRS is.. a SRS! Something went awry, and the 'document kind' got confused with the 'system kind'. [In some sense, this is great, as it helps us find the differences between these.] |
|
Well darn, I messed up the merge. I shouldn't use the web editor to do merges. Will fix. |
|
Ok, now that the merge has been fixed, there's still the problem that the name of the SRS has changed, and it should not have. |
|
Sigh - there are now 5 new conflicts. @balacij can you take a look? |
Contributes to #3260