News for hackers. Stuff that matters.
Re:Ask HN: Where can I ask for code reviews online without b... by turtleyacht on Friday January 19, 2024 @10:06AM (#39056400)
That makes sense. I'm trying to wrap my head around Dubray's State-Action-Model and have reduced it to rewriting examples from different perspectives (first starting with the model, for example).

I found this answer on StackOverflow about Go structs for composition. It's interesting because at least there's an example of how not to do it (in Go) and a detailed answer:

https://stackoverflow.com/a/70100167

The Ben Franklin approach: "I've seen one more way not to write it."

Hope you find or figure what you're looking for.

There are no comments on this comment yet.