TheDoctor [they/them]

  • 1 Post
  • 33 Comments
Joined 6 months ago
cake
Cake day: March 25th, 2024

help-circle







  • I often use comments as ways to say, “I know this is cursed, but here’s why the obvious solution won’t work.” Like so:

    /**
     * The column on this table is badly named, but
     * renaming it is going to require an audit of our
     * db instances because we used to create them
     * by hand and there are some inconsistencies
     * that referential integrity breaks. This method
     * just does some basic checks and translates the
     * model’s property to be more understandable.
     * See [#27267] for more info.
     */
    

    Edit: to answer your question more directly, the “why not what” advice is more about the intent of whether to write a comment or not in the first place rather than rephrasing the existing “what” style comments. What code is doing should be clear based on names of variables and functions. Why it’s doing that may be unclear, which is why you would write a comment.





  • TheDoctor [they/them]@hexbear.nettoMemes@lemmy.mlon our way to fascism
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    1 month ago

    Umberto Eco completely ignores the material basis for fascism, which is usually the downwardly mobile petit bourgeoisie. Fascism takes advantage of superstructural elements, which is why Eco’s list contains the elements it does in a kind of grab bag fashion. But it still has a material basis, itself being a response to a crisis within capitalism. Would highly recommend The Jakarta Method for further reading on what people are discussing in your replies and in this thread.









  • TheDoctor [they/them]@hexbear.nettoMemes@lemmy.mlAnybody else experience this?
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    2
    ·
    3 months ago

    The US ruling class has been trying to do all of these things for decades. I’ve been treated like I’m insane for calling this out since well before Project 2025 was formulated. It’s honestly frustrating to see the amount of people finally coming around now that all their ducks are in a row and a second Trump term is looking more and more certain every day. Biden’s been literally doing Republican policies for his entire presidency and we haven’t heard a fucking peep from the liberal “activists” in my area about it.