Egregoros

Signal feed

Timeline

Post

Remote status

Context

2
i'm not gonna do it but wren does have runtime attributes so you could actually make a rule of one runbook step = one class, and then just like, use nestedtext (discount yaml) for the book and use the metadata to set up the properties.

it could be a surprisingly lean way to do runbooks.

Replies

4
@icedquinn no, because I understand how computer science works when it meets the real world

just like nobody uses all of C++, nobody uses all of YAML

yaml is for serializing data that is to be processed by computer programs. If this data is complex there will be large opportunities for bugs and other errors

the programmer's job is to make the system as a whole as reliable as possible. This means reducing complexity as much as possible

the simplest possible yaml contains nothing but deserialized data structures. Structures like primitives, lists, tuples, dictionaries, and collections.

If you are using yaml to store deserialized data that is not engineered to be as simple as possible you are doing it wrong.

Just like how nobody in their right mind would develop a computer program that uses "all the advanced features of C++". Can you imagine what a cluster fuck that would be? That's not what we want C++ for. We only want it because it is easier to implement an object-based event handler in C++ than in C.

Similarly, we are only using YAML over JSON because it supports inline comments.