↳
In-reply-to
»
Progress! so i have moved into working on aggregates. Which are a grouping of events that replayed on an object set the current state of the object. I came up with this little bit of generic wonder.
⤋ Read More
@xuu@txt.sour.is Congratulations! That’s by far the longest twt I’ve seen. :-) Working fine in tt. I was a bit worried, that lengths of multiple screens would be hard to read or scroll. But magically it just scrolled line by line.
I reckon two return
s can be saved in GetUser(…)
. Oh, on further inspection there are even two nested err != nil
checks.
Generics were desperately needed. I’m glad they finally introduced them. I stumbled across them last week and gave them a shot. The syntax is probably not the very best, but I will get used to it eventually.