☆ Yσɠƚԋσʂ ☆

  • 64 Posts
  • 88 Comments
Joined 5 years ago
cake
Cake day: January 18th, 2020

help-circle




  • I find a good approach to getting better at programming is to reflect on the projects you’ve done and try to identify patterns that got you into trouble. Then you can try doing things differently next time, and eventually you end up settling on a style that works for you. At the end of the day it’s really just practice. The one key thing I’ve learned to focus on is reducing the operating context I need to have when reading the code. Once the context becomes too big to keep in your head, then trouble starts. So breaking things up aggressively into small components you can reason about in isolation tends to be the best way to write reliable code you can maintain over time.


  • I’ve noticed that debugging tends to be more important in imperative languages than functional ones. With imperative style, you have a lot of implicit state that you need to know to figure out what actually happened. So, you end up having to go through the steps of building that state up before you can start figuring out what went wrong. On the other hand, the state is passed around explicitly with the functional paradigm, and you can typically figure out the problem by looking at the exact spot where the error occurred.

    My typical debugging workflow with Clojure is to just read the stack trace, go to the last function in it, and then see what it’s doing wrong. Very rarely do I find the need to start digging deeper. I think another aspect of it is having an interactive development workflow. When you’re running code as you’re developing it, you see problems pop up as you go and you can fix them before you move to the next step. This way you don’t end up in situations where you wrote a whole bunch of code that you haven’t run, and now you’re not sure if it all works the way you expected.





  • ☆ Yσɠƚԋσʂ ☆@lemmy.mltoMemes@lemmy.mlForest of trees
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 day ago

    Nobody is talking about any dark rooms, just go look at what PSL is doing very much in the open. If you look at any successful revolution it has always started by building support networks and organizing communities. It’s kind of wild that you are not aware of this. The difference with communists is that we understand that an organized dictatorship of capital requires organization and education to fight against. So, along with building out support networks we also focus on political education, organization, and long term goals.



  • ☆ Yσɠƚԋσʂ ☆@lemmy.mltoMemes@lemmy.mlForest of trees
    link
    fedilink
    arrow-up
    6
    arrow-down
    3
    ·
    1 day ago

    Everything anarchists do in tangible terms helps maintain liberal capitalist rule. That’s the reality of the situation. Hence why anarchists are just LARPing without any tangible plan of action. Anarchists love moaning about being brutally repressed, but refused to take any action against the repression.


  • ☆ Yσɠƚԋσʂ ☆@lemmy.mltoMemes@lemmy.mlForest of trees
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 day ago

    Liberalism is fundamentally an ideology of private property ownership and that’s why it always inevitably devolved into fascism in times of crisis.

    Therefore, whenever economic liberalism finds itself under threat from “populism”, it quickly jettisons the principles of political liberalism to which it is theoretically tied.

    In other words, these “principles” are not principles at all, just convenient postures designed to cloak the unpleasant reality of the economic liberals’ capitalist system.

    https://orgrad.wordpress.com/articles/liberalism-the-two-faced-tyranny-of-wealth/

    Anarchists talk a lot about community, but reject actual practical way to organize communally and combat capitalism. And the argument for rejecting practical means is that these approaches restrict individual freedoms. Anarchists place their individual freedom above collective good, and thus align with liberal capitalists in action.














  • I’m not sure what point you’re trying to make here to be honest. You claimed that the US has no intellectuals and no people who have deep political understanding. I listed a bunch just off top of my head, now you’re moving your goal posts.

    PSL as a party isn’t focused on electoralism. It’s a worker movement, and De la Cruz is an excellent leader for this movement. If you still think that elections in a rigged system matter then you are in dire need of reading theory you deride here.

    And in your opinion the demographic that is going to drive change are unpopular people who are subjects of news discussed on this site and this site only.

    No, and if you actually bothered reading what I wrote then you’d know that the demographic I identified are people feeling the exploitation. People like Chris Smalls who are starting to organize on the ground. The fact that you think bread and circuses is somehow a unique phenomenon in the US that’s never happened in history is absolutely incredible.

    Good luck with your magical unions organically forming out of thin air bud. I’m sure it’ll happen any day now.