I thought it didn’t have classes in name only, isn’t a struct with methods basically a class?
- 0 posts
- 8 comments
Looks like some circular inheritance, that’s going to cause some issues down stream.
- Not_mikey@lemmy.dbzer0.comto
Reddit@lemmy.world•Reddit mods immediately delete Post about Eppsteins private Email leak(s)
5 monthsSo every other child rapist’s name gets redacted but they can’t even do a scan for passwords?
- Not_mikey@lemmy.dbzer0.comto
Programmer Humor@programming.dev•I wasted all my generational luck for this
7 monthsWithout chicanery? Yes
Without luck? No
- Not_mikey@lemmy.dbzer0.comto
Programmer Humor@programming.dev•I'm not sure, but it might be something about UUIDs
9 monthsI can see how this may be useful. My understanding is that this is go lang and the person created a wrapper type
UUIDand this function takes the go standard libraryuuid.UUIDand returns the wrappedUUID.The wrapped
UUIDcould be useful as you can then define methods for it liketoInt()or something to make it implement someIDinterface you have set up. It’s a common pattern in go to create a thin wrapper around an imported type so you can implement all the methods required for some interface you defined. It does make naming those thin wrappers hard because what are you supposed to name the struct that just contains a uuid?
- Not_mikey@lemmy.dbzer0.comto
Programmer Humor@programming.dev•The state should be purely passed through function inputs and outputs
1 yearApe hierarchies, at least within the troops, are mostly about mating not resource distribution. It’s not like the alpha male gets first pick of the fruit and all the other chimps wait until he’s done and then go in hierarchical order, they just disperse and grab what they can.
If you want to go down an essentialist path most pre-agricultural societies were anarchic. There may be a chief but they “ruled” at the discretion of the tribe. The chief, or anyone really, couldn’t hoard resources because
-
they couldnt monopolize violence and coerce people since there’s no specialization in anything much less violence so violence becomes a numbers game.
-
There’s only so much you can carry. Pre agricultural tribes were nomadic mostly and when the tribe moves camps you have to carry everything with you. So even if you were able to hoard enough food that won’t rot you won’t be able to carry it to the next camp.
-
Because of the above, wealth isn’t really a thing. This forces cooperation because without wealth, the individual can’t protect themselves from hardship. Selfish individualism only works if you’re able to build up some wealth to act as a buffer for leaner times. If you don’t have that wealth then you’re reliant on your social connections so you tend to cooperate and redistribute because it’s in your best interest to stay in good standing with the group so they will help you in harsher times.
All this changes with agriculture and the invention of wealth, first in grain then in gold and then stocks etc. Now your dependence on society is directly porportional to how much wealth you have, to the point where really rich people can fuck off to a cabin or island and never work or contribute to society ever again.
Violence specialization also becomes more or less a thing, increasing up until the invention of firearms at which point it becomes more of a numbers game and the hierarchies lessen.
All of this is to say that hierarchy is not natural, but the result of the ability to accumulate wealth combined with violence specialization and monopolization. If we get rid of those two concepts then anarchy may take over, how we do that in the modern world is another question.
-
- Not_mikey@lemmy.dbzer0.comto
Programmer Humor@programming.dev•The state should be purely passed through function inputs and outputs
1 yearIt is anticapitalist by nature in that capitalism is a system where a person can own the means of production and use that ownership to acquire profits. That ownership is a form of domination and creates an arbitrary hierarchy, who makes all the decisions: the owner, why do they make all the decisons: because they had the wealth to buy the company.
You can have organization and markets though without capitalism, such as with anarcho-syndaclism. Basically you have a bunch of coops that are run and controlled by elected workers councils that can trade with each other voluntarily.


This just reads like a sales pitch rather than journalism. Not citing any studies just some anecdotes about what he hears “in the industry”.
Half of it is:
I know the AI hate is strong here but just because a company isn’t pushing AI in the typical way doesn’t mean they aren’t trying to hype whatever they’re selling up beyond reason. Nearly any tech CEO cannot be trusted, including this guy, because they’re always trying to act like they can predict and make the future when they probably can’t.