8 ms·
"generating architecture diagrams directly from the code - the source of truth." becomes a lot easier when the source code is the architecture. When you can ex
by mpweiher 3y ago
"generating architecture diagrams directly from the code - the source of truth." becomes a lot easier when the source code is the architecture.
When you can express the architecture directly in the code using an architectural programming language.
https://objective.st https://objective.st
- ayewo 3y agoInteresting link you shared there. Can you link to a real-world example of using Objective-S to specify an architecture?
- mpweiher 3y agoThe "scripts" directory in the repo has a good number of samples. Note that I wouldn't call it "specifying an architecture", I would call it "programming the system using architecture-appropriate connectors". For example, a task JSON backend: https://gitlab.com/mpwmo/ObjectiveSmalltalk/-/blob/master/scripts/misc/hardtask.st?ref_type=heads https://gitlab.com/mpwmo/ObjectiveSmalltalk/-/blob/master/sc... First defines a Task (model) class, then a scheme-handler for storing those tasks (in memory), and finally configures + hooks up those objects to create+run the actual backend.