• Zagorath
    link
    fedilink
    429 hours ago

    Nothing wrong with classes in functional programming though. Just return a new instance of the class from your method, rather than mutating an existing instance.

    • Amon
      link
      158 minutes ago

      Classes are just another way to define an object. Heck even Lisp has objects!

    • @[email protected]
      link
      fedilink
      32 hours ago

      Javascript:

      I heard you like mutating class data so I’m mutating the data you can put in your class data, dawg.

    • @[email protected]
      link
      fedilink
      10
      edit-2
      6 hours ago

      Right, I think the two aren’t as different as they appear. You can think of a closure as an object with just one method.

      If OO programming is fundamentally about objects sending messages to each other, then there are many ways to approach that. Some of those ways are totally compatible with functional programming.

      The legacy of C++ has dominated what OOP is “supposed” to be, but it doesn’t have to work like that.

  • @danc4498
    link
    English
    228 hours ago

    Do anarchists think anarchy will result in a system with no classes?

    • Cethin
      link
      fedilink
      English
      13 minutes ago

      Anarchism is not the thing you’re told about in the media. It isn’t a total lack of all government. It’s a removal of hierarchical systems and exploitation. There still needs to be systems to protect people from these. They’d just be done through concensus.

      This page has more information if you want to learn. https://anarchistfaq.org/afaq/sectionA.html#seca1

    • @[email protected]
      link
      fedilink
      217 minutes ago

      Depends on the anarchist. Many would focus on seeking the absence of involuntary power hierarchies. A manager who distributes work and does performance evaluations isn’t intrinsically a problem, it’s when people doing the work can’t say “no, they’re a terrible manager and they’re gone”, or you can’t walk away from the job without risking your well-being.

      Anarchists and communists/socialists have a lot of overlap. There’s also overlap with libertarians, except libertarians often focus on coercion from the government and don’t give much regard to economic coercion. An anarchist will often not see much difference between “do this or I hit you” and “do this or starve”: they both are coercive power hierarchies.
      Some anarchists are more focused on removing sources of coercion. Others are more focused on creating relief from it. The “tear it down” crowd are more visible, but you see anarchists in the mutual aid and community organization crowds as well.

    • missingno
      link
      fedilink
      23 hours ago

      Anarchy means “without hierarchy”. Classes are a hierarchy, so by definition it wouldn’t be anarchy if you don’t dissolve class.

      • @[email protected]
        link
        fedilink
        11 hour ago

        Classes, as per Marx, are foremost identified by the economical position of people, and not necessary a hierarchy as such, that’s a secondary effect of how classes happen to work towards their own self-interest. If, in an anarchist utopia, one population freely chooses to live in a high-tech skyscraper doing engineering work, and another neighbouring one grows coffee in the rain forest, then their economical position is vastly different and they have different interests, thus they are different classes, but that doesn’t mean that they need to be nasty to another.

        Most importantly though this is all just arguing semantics and Marx didn’t get anarchism anyway, mixing the theoretical bodies is usually more headache than it’s worth.

    • @[email protected]
      link
      fedilink
      408 hours ago

      Yes, because anarchism is against all hierarchies and the class system is a form of hierarchy. Instead, decisions should me made collectively, for example in councils open for everyone

      • SneakyAlba
        link
        fedilink
        74 hours ago

        @lugal @danc4498 Anarchism is against specifically unjust hierarchies, it can permit certain ones to exist within individual communities should the community find it justified, but still strongly favours not having any where possible.

        There are a group of anarchists who would still believe in the idea of an adult > child hierarchy as they struggle to imagine an alternative world without it.

        • @[email protected]
          link
          fedilink
          2
          edit-2
          1 hour ago

          Parents have natural bootmaker authority and if you want to be a good parent then you realise that the kids also have it: They, or maybe better put their genome, know how they need to be raised, and try to teach you, as well as (with increasing age) seek out the exact bootmakers that seem sensible. Worst thing you can do as a parent is to think that learning is a one-way street.

      • @[email protected]
        link
        fedilink
        65 hours ago

        Isn’t anarchy just against imposed hierarchy? Most anarchists I’ve met are okay with heirarchies that form naturally, and believe those hierarchies to be enough for society to function, hence why they call themselves anarchists, not minarchists.

        • @[email protected]
          link
          fedilink
          75 hours ago

          I have never heard the term minarchist. Many anarchists say, we need structures against the building of hierarchies, like avoiding knowledge hierarchies by doing skillshares.

          Natural authorities are a different topic. I think Kropotkin was an example of a leader who was accepted because everyone agreed with him. Once he said something people didn’t like, they rejected him as a leader. You can call this a hierarchy if you like. I wouldn’t because he couldn’t coerce his followers but this is pure terminology.

      • @danc4498
        link
        English
        78 hours ago

        So, do the anarchists not think that capitalism will just prevail and bring along with it the classes of the haves and have nots? Anarchy won’t solve the problem of wealth inequality, will it? I have genuinely never understood this aspect of anarchism.

        • @[email protected]
          link
          fedilink
          15 minutes ago

          Anarchism is opposition to power hierarchies, specifically non-consensual or coercive ones. Wealth inequality without safety networks is a coercive power hierarchy, and so needs to be fought. Capitalism as a whole is almost always incompatible with anarchy, at least in the way we tend to do it now. In a system with strong social safety networks the choice to work for someone can actually be a choice, and so some schools of thought would view it as compatible.
          Others view exclusive ownership of property as someone asserting power over someone else’s ability to use said property, and therefore wrong. Needless to say, abolition of private property is not compatible with capitalism.

        • adr1anM
          link
          fedilink
          22 hours ago

          Under direct democracy (or even representative democracy but with more levels in between) it would be at people’s disposal to try and ultimately solve anything…

        • @[email protected]
          link
          fedilink
          English
          217 hours ago

          The system where someone monopolizes a essential good and leverages that to gain power is called anarcho-capitalism and is a whole different thing. In anarchy, ownership on that level does not exist. Neither a company nor a person can own a factory, or a farm, or the power grid. Employment doesn’t exist. People can band together and distribute tasks for a common goal (such as producing a certain good) but they all hold equal stake in all decisions.

          Of course a group of people could use violence to oppress other people. But then you no longer have anarchy. The same way a democracy stops beeing a democracy once a group seizes power and doesn’t allow fair elections anymore.

          • @danc4498
            link
            English
            76 hours ago

            Neither a company nor a person can own a factory, or a farm, or the power grid

            And who is going to stop a company from owning a factory or a farm? It wouldn’t even require violence for a company to do so. It just requires them to have enough resources to pay people to do it.

            I guess I don’t see what you call “anarchy” as a system that would ever exist more than a year. The end result would always be “anarcho-capitalism”. That, or, people would have to form their own government to prevent that system.

            • @[email protected]
              link
              fedilink
              English
              96 hours ago

              The company would need violence. There’s no reason for workers to work in a factory for less money than their goods are sold for, and there’s no reason for the company to pay workers more than the goods are sold for. Without violence the workers could just produce and sell the goods themselves and ignore the company.

              • @Feathercrown
                link
                English
                1
                edit-2
                2 hours ago

                The factory helps make the goods though

                • @[email protected]
                  link
                  fedilink
                  English
                  21 hour ago

                  Yeah, that’s what I mean, the workers could go in the factory, produce the goods, and sell them, if the company did not use violence. It’s not clear where the factory came from in this hypothetical. The community could’ve built it, it could have been abandoned, or the company could’ve claimed they “owned” it (which is not possible in the society, so it would be seized).

              • @danc4498
                link
                English
                66 hours ago

                Is this a society without computers and other modern day electronics? Or do you think workers will be able to handle developing technology on their own?

                • @[email protected]
                  link
                  fedilink
                  English
                  55 hours ago

                  Well, it’s unlikely the entire world will turn anarchist all at once, and the modern supply chain is global, so the anarchist community would trade for what they need from outside the community. Or they may choose to go anarcho-primitivism I guess. I think some remote indigenous tribes we have now could be considered anarcho-primitivist. The most successful anarcho-socialist community would probably be the Zapatistas.

          • Natanael
            link
            fedilink
            56 hours ago

            Of course a group of people could use violence to oppress other people. But then you no longer have anarchy.

            The irony is that the amount of coordination needed to protect anarchism would no longer be called anarchism

            • @[email protected]
              link
              fedilink
              146 hours ago

              The irony is that the amount of coordination needed to protect anarchism would no longer be called anarchism

              This is a common misunderstanding. While there are anti organisationist anarchists, others dream of a world while spanning confederation based on voluntary cooperation and mutual aid. Anarchism in general isn’t the absence of organization but the absence of hierarchy and domination (therefore isn’t anticapitalist in nature)

              • @[email protected]
                link
                fedilink
                9
                edit-2
                4 hours ago

                It 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.

            • @[email protected]
              link
              fedilink
              36 hours ago

              That’s more or less where anarcho-syndaclism goes. Get all the workers into unions who take over their companies and turn them into co-ops. Then the co-ops collaborate and you don’t need the state or anything else.

          • @danc4498
            link
            English
            96 hours ago

            I just don’t understand how people think an anarchy can protect itself from capitalism.

            • @[email protected]
              link
              fedilink
              140 minutes ago

              By teaching history, including how capitalism killed millions of people, whole eco systems and uncountabe species.

            • @[email protected]
              link
              fedilink
              65 hours ago

              Let’s take the most “conservative” form of anarchism: anarchosyndicalism. Every factory is organized in councils, confederated both with the import or mining council and the consumer council. Now a capitalist comes and asks how much this factory costs. Do you think the council will tell them a price or to fuck off?

              • @danc4498
                link
                English
                35 hours ago

                Well, I don’t think a capitalist will call themselves a capitalist. I think they will have allies that get themselves appointed to the council and before we know it the factory is doing the bidding of the capitalists.

                And yes, I am incredibly cynical (I blame the last 25 years), so I get that a less cynical perspective exists where this wouldn’t happen.

                • @[email protected]
                  link
                  fedilink
                  35 hours ago

                  The council isn’t elected. It’s open for everyone to join in all decisions. It might delegate some tasks, even smaller decisions, but it can always recall them.

                  So in your scenario, the council would delegate the power to sell the factory to a group of people which is very unlikely. Now this group of people who are trusted by everyone would decide to sell the factory which might happen. But the council would most certainly recall them from this decision making power the never should have given away in the first place.

                  Maybe I should have stressed more that a council is really open for everyone to join. It’s not an elected parliament or something

              • @[email protected]
                link
                fedilink
                1
                edit-2
                51 minutes ago

                🎵What’s in your heeEeaad, in your hEeeaAad, zombie, zombie, zombeh eh-eh-eh-eh-eyyyaaahhh…🎵

          • @danc4498
            link
            English
            36 hours ago

            You don’t think the capitalists would have the resources to defend themselves?

            • @[email protected]
              link
              fedilink
              English
              36 hours ago

              Hoarding resources will be banned. If you start doing it, we’ll beat you up before you can get enough to hire a private army. Also, only the most corrupt people would go work as a private soldier, because everyone’s needs are met so there’s no poverty to drive people to do bad things. You’d have to promise private security a lot of money to betray their nation for basically no reason.

              • @danc4498
                link
                English
                66 hours ago

                So this anarchy is a self contained commune where nobody is allowed in that doesn’t agree with the rules. And if somebody breaks the rules, they must leave. This sums it up? It can’t apply to a country because that would never work. But to a small village, sure.

                Also, hopefully the people outside the village don’t find ways of fucking with them (such as redirecting waterways that affect the downstream village).

      • @[email protected]
        link
        fedilink
        38 hours ago

        There is a huge difference between how things should work and how they will though. Without any system of enforcement, I would call it nothing but wishful thinking.

        In fairness, democracy was a kind of wishful thinking too, which is why I would propose a new form of monarchy instead: https://arendjr.nl/blog/2025/02/new-monarchy/

        • @[email protected]
          link
          fedilink
          122 minutes ago

          Interesting idea for sure. I’m not sure it would work though. The concept has lots of cultural implications as well. In traditional monarchies the king is usually divinely ordained, chosen by god. A democracy doesn’t get its legitimacy from above, the people are the ultimate sovereign and legitimize the system. New Monarchy also needs some kind of higher philosophical justification.

          Political systems often have a short slogan, that emphasizes their values.

          • No gods, no kings, no masters
          • liberté, égalité, fraternité
          • Einigkeit und Recht und Freiheit
          • blood and Soul
          • for god, king, and country
          • one man, one vote
          • SPQR

          New Monarchism could use one as well.

          • @[email protected]
            link
            fedilink
            137 minutes ago

            The linked concept of New Monarchy doesn’t have a king. It contains asymmetric votes between classes, which is an interesting idea to keep a check on the aristocracy. I don’t think the system is fully viable as a concept, but it makes a good point at the beginning. If we get an elite ruling class anyway in every system, let’s make it more visible and directly accountable.

          • @[email protected]
            link
            fedilink
            16 hours ago

            :D

            From your other responses I can see you’re being sarcastic, but yeah, seems that many won’t read any further after seeing the word monarchy :shrug:

        • @[email protected]
          link
          fedilink
          25 hours ago

          Your proposal is just an idealistic version of early US. You claim that corruption is fundamentally impossible, but assume that magically “the monarchs aren’t allowed to own property” without regard to enforcement. You claim to have an alternative to democracy but still propose majority voting on replacing rulers and constitutions. You simply assume that monarchs will keep each other in check and not devolve into the conspiring, warmongering tyrants that history is full of.

          Power can always be abused to get more power and go against all your original ideals. The only way to definitely prevent corruption is to ensure power is never concentrated in the hands of few.

          • @[email protected]
            link
            fedilink
            15 hours ago

            Your proposal is just an idealistic version of early US.

            Thanks, I guess :)

            You claim that corruption is fundamentally impossible, but assume that magically “the monarchs aren’t allowed to own property” without regard to enforcement.

            I make no such claim, and I don’t make assumptions regarding enforcement either. Constitutional enforcement is discussed in quite some detail.

            You claim to have an alternative to democracy but still propose majority voting on replacing rulers and constitutions.

            There is majority voting on deposal of rulers, to be specific. Their replacement isn’t voted on by a majority of the population.

            Constitutional changes are voted on through majority, but first require a majority of the monarchs to be on board.

            Both these limitations are intentionally designed to mitigate manipulation of the population.

            You simply assume that monarchs will keep each other in check and not devolve into the conspiring, warmongering tyrants that history is full of.

            There is quite some detail about the enforcement mechanisms. The idea is very much not to assume, but to persuade the monarchs to act in a benevolent manner, by enticement through both the carrot (wealth for as long as they rule), but also the stick (deposal if the majority doesn’t vote in favour of their actions, with a threat of assassination if they refuse to be deposed).

            Power can always be abused to get more power and go against all your original ideals. The only way to definitely prevent corruption is to ensure power is never concentrated in the hands of few.

            Ah. So it wasn’t me that claimed that corruption is fundamentally impossible, it’s you that claim to have the definitive answer.

            For what it’s worth, I agree power shouldn’t be concentrated in the few. Which is why I split power across districts, and between citizens and monarchs, and why the group of monarchs for each district cannot be too small either. It’s all there if you could try to be a little less dismissive.

      • @[email protected]
        link
        fedilink
        English
        -18 hours ago

        How would you reach consensus between hundreds of millions of people?

        Look, I am sympathetic to the cause behind anarchism but it doesn’t work because it insists on ignoring biological realities. We need to look no further than our ape cousins to see how some hierarchical structure is inherent to our society. Only through the existence of a state can we reduce hierarchy and increase equality.

        A stateless society wouldn’t last 10 minutes before establishing a state.

        • @[email protected]
          link
          fedilink
          23 hours ago

          Ape 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

          1. they couldnt monopolize violence and coerce people since there’s no specialization in anything much less violence so violence becomes a numbers game.

          2. 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.

          3. 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.

          • @[email protected]
            link
            fedilink
            English
            22 hours ago

            I have a theory about us returning to our natural state as our end game, but I haven’t put it down to paper yet. That being said, for now, it’s either all the good things industrialization has brought (along with the bad of course) or we return to the short brutish lives we lived before agriculture.

            Anarchy at this point has no real way of being implemented without another state forming the moment we decide we can do better than die short tragic lives.

        • @[email protected]
          link
          fedilink
          24 hours ago

          It’s not one big council but a confederation of councils. I like the idea of fractal democracy. Like a huge river branching into smaller ones and when you zoom in, these smaller ones branch again and again. You have councils on many levels, each making decisions, delegating to the next level and being recallable from below.

          • @[email protected]
            link
            fedilink
            English
            22 hours ago

            That just sounds like nothing will ever get done, but it would be worth simulating. Maybe it is good, who knows.

        • @[email protected]
          link
          fedilink
          English
          36 hours ago

          When a monkey hoards all the bananas, the other monkeys kill him and share the bananas. Anarchy is natural.

          • @[email protected]
            link
            fedilink
            English
            36 hours ago

            If might makes right a state will end up forming anyways. A populist commune is still a state. Anarchy is not possible in any sense of what one might describe as a functional society. As soon as there’s a society a state will form.

            But that’s also not how chimpanzee society works anyways, since mostly it’s an alpha challenged by a younger stronger chimp who takes their place and makes sure everyone else follows the rules. They even have something like a police force.

        • @[email protected]
          link
          fedilink
          English
          68 hours ago

          I agree with you in that we cannot have a society without some form of state, but I think the idea is that we would have small community governments with more or less direct democracy. Also, bio-essentialism? Really?

          • @[email protected]
            link
            fedilink
            English
            3
            edit-2
            7 hours ago

            I guess you can call it that but as I understand it bio-essentialism denies that society has any roles at all in shaping the individual. For me there’s obvious environmental pressures that force us to act a certain way in order to survive which in turn shapes us as individuals and our societies. Of course I’m talking back to the very first human societies, but all modern societies by necessity must trace their origins there. But at a certain point we started to add rules that are based on idealized humanity, divinity, which is in my view inherently hostile to human nature.

            We are animals and we have no real way to discern instinct from rational. For all you know every “rational” thought you’ve ever had is actually just an instinct. How would you be able to tell that it isn’t? But that’s neither here nor there, my point is we need to form societies that are sympathetic to our biological realities, instead of societies formed on moral values sourced from anti-human religions or idealized human religions. We would be much much happier.

            I know people don’t like these type of stances because they are sometimes used to exclude trans people, or to justify racism but that’s just using science to arrive at the wrong conclusions.

    • @[email protected]
      link
      fedilink
      16 hours ago

      It’s actually right in the name. Anarchy from an-arkhos means “without ruler”. They think hierarchies are illegitimate per se.

  • @jaybone
    link
    25 hours ago

    You might want to cache things, like handles to resources or other dependencies?

    • @[email protected]
      link
      fedilink
      11 hour ago

      Hm, i dont think AES amanaged to come close to this.

      Anarchists like Baba Makhno came close, but given the circumstance, leader- or classless societies are kinda doomed to fail.

    • @marcos
      link
      55 hours ago

      Just like functional programing is about making state explicit, not making it go away.

      Overall, both arms are wrong… so they cancel out or something like that.

  • @[email protected]
    link
    fedilink
    1
    edit-2
    5 hours ago

    I use states, but no classes. G’MIC is my main language. I do appreciate the functional way of thinking after writing in it for so long. States are just variables that defines the mode of something, right?

    • Instantnudel
      link
      fedilink
      78 hours ago

      Ich freue mich über ihre Frage. Ich fühle mich geehrt hier zu sein. Ich möchte ihnen jetzt garkein vorwurf machen aber sie haben diese Frage doch auswendig gelernt. Sie haben unser Programm nichtmal gelesen. Würden sie Habeck auch so eine Frage stellen? Jetzt unterbrechen sie mich nicht!

  • @danc4498
    link
    English
    19 hours ago

    deleted by creator