• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • Redscare867@lemmy.mltoLemmy Shitpost@lemmy.worldTiananmen square 1989
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    11 months ago

    Within real communist communities? No. Within revisionist communities absolutely.

    Communists haven’t supported China since the death of Mao whenever Deng Xiaopeng and his ilk took power. You can read plenty of official statements by Peruvian, Indian, and Filipino communists parties (that have actually attempted/are attempting revolution) who denounce China as a revisionist social imperialist power in exactly the same way that China denounced the USSR following the revisionists rise to power.





  • Maybe you should check how python compares relative to shell scripts before you comment. You’re making it very apparent that you don’t actually know what you’re talking about. Regardless of how slow python is, it is significantly faster than bash, or any other shell language purely by virtue of the fact that shell languages are primarily glue between other programs. Spawning a new process has a ton of overhead, which you would know if you were capable of doing anything other than projecting.

    You’re also woefully unaware that it is completely possible to write python bindings for C++ code, which many popular libraries do. In practice python is not as slow as you think it is. That’s not even considering the fact that python 3.12 increased performance of the language.

    It’s not perfect for everything, but this performance argument shows that you don’t know enough to understand why that isn’t really a drawback for writing scripts, which is undeniably an area that python excels at.




  • To be fair, sometimes that runtime difference matters. That’s why it’s C++ and python is a fairly common skill-combo amongst devs. But the fact that this dude is basically bragging about writing shell scripts as if that’s something an experienced dev couldn’t figure out tells me that they don’t really know anything about when you would choose either.

    If they had mentioned the Global Interpreter Lock or dynamic typing maybe they would have had some sort of real case for why you should avoid python in certain situations.


  • You should check out Click. Way more user friendly than argparse imo. I agree with all of your points though, and I’d also add if you are working on a team that it will be infinitely easier for a co-worker to decipher your python code compared to a bash script. And you can write unit tests with py test, the list goes on and on. If the environment you are deploying to has the python interpreter, you should use python over bash.



  • What’s better for climate change is less cars on the road, not underground roads. If we are going to be digging these expensive tunnels in every city they should be for subway systems. That would be a substantially better use of the funds and would be a good step towards reducing the emissions of a city. This is all assuming that we stop subsidizing car ownership so heavily of course.

    The entire process of building and repairing roads is pretty carbon intensive due to the amount of concrete involved.


  • Redscare867@lemmy.mltoMemes@lemmy.mlHow i feel on Lemmy
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    This is generally the thought process that Marxists have. The USSR definitely wasn’t perfect, but it is the first real example that the proletariat was capable of uniting and other throwing the capitalist system. The USSR is fantastic to study to try and determine why it failed. Similarly China is a great resource to study to understand how capitalism can be re-established from within the party.

    Most modern communist groups actively engaging in an attempt at revolution were inspired by the Chinese revolution and the cultural revolution that came after it, but none of them are trying to recreate the USSR or China because as we can clearly see those states failed to maintain a socialist character.