Why Nostr? What is Njump?
2024-04-12 17:14:40

mleku on Nostr: fiatjaf this might be one of the most opaque pieces of source code i have ever read ...

https://github.com/fiatjaf/eventstore/blob/master/badger/query.go#L183



this might be one of the most opaque pieces of source code i have ever read in my life

put some comments in there to explain why the if/then/else/if/then/else logic because it's not clear at all

i'm spending half my day tomorrow, to try and decipher the meaning of this absurdly opaque piece of code, but you really should not be able to get away with publishing this and not being held accountable
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku