Elektrine lite

← Feed

@darryl@toot.community

2026-05-20 02:58 UTC

@saikou@gts.chuuni.solutions I really could have used this a few years ago on a codebase that did a lot of two-step initialization (some information was available at construction time, then an initialize() method was called later to provide more information, _then_ the object was usable) and I made it work reasonably safely but it was a headacheeeee

Replies (1)

  • @saikou@gts.chuuni.solutions 2026-05-20 17:19

    @darryl@toot.community yeah specifically the case I have here is that I'm building an immutable graph based on a protobuf pulled off the wire, and I want each node to store some useful cached data, but computing that data is easier with the graph structure, which requires the nodes...

    Open ##5277307