What is Nostr?
npub1dvs…ttxk
2024-11-26 15:26:12

npub1dv…7ttxk on Nostr: Trying to create complex #software managing kernel buffers. This needs tests. ...

Trying to create complex #software managing kernel buffers.
This needs tests.

"#functional core, imperative shell" - Testing management should not need the kernel.

I started mocking with a generic backend. Looks annoying.

"imperative shell"

The mocked generic is becoming a spaghetti horror.

"functional core" - and then it clicked.

I separated just the buffer manager, made it generic over buffer type. I can now feed it fake buffers and test it.

#testing #development #hexagonal
Author Public Key
npub1dvsuqmzh4jsjerdszplqvxmgcxl8fwuknn7dd76m978uq2ac9t8qk7ttxk