• 1 Post
  • 39 Comments
Joined 3 years ago
cake
Cake day: March 25th, 2022

help-circle
  • Faresh@lemmy.mltoProgramming@programming.devSelf-documenting Code
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    14 days ago

    Comments are super useful but soooo overused

    I think overusing comments is a non-issue. I’d rather have over-commented code that doesn’t need it, over undocumented code without comments that needs them. If this over-commenting causes some comments to be out of date, those instances should hopefully be obvious from the code itself or the other comments and easily fixed.







  • Faresh@lemmy.mltoProgrammer Humor@programming.devof=/dev/sda
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 month ago

    echo and alias are both shell commands. If the shell is running (which it obviously still is), those commands should still work, as it does not involve reading data from disk, but from memory.

    Edit: I just noticed the picture said cd was not found, which is also a shell built-in. So, I don’t know.








  • Faresh@lemmy.mltoComics@lemmy.mlPlato vs Democracy
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    4 months ago

    Hover-over text of ExistentialComics’ comic:

    Some people have called Plato the first totalitarian thinker, but if you look at what Democracy is producing these days it’s hard to not think he had a bit of a point…

    And text beneath comic:

    Also, my Dad is trying to raise some money for a surgery, I already posted this before and we met the goal, but then he contracted dengue fever so the surgury had to get delayed, so we are trying to raise a little more money to cover those expenses. If you could spare a few dollars it would really help.

    As for Plato, he criticized democracy heavily, claiming that it gave people too much freedom, and if anyone could be elected by the ignorant masses, it would be too possible for selfish people who only wanted power and wealth to get into power. Democracy, ironically, would inevitably lead to tyranny and demagogues. He thought a better system would be for the wisest, most virtuous, and most selfless people to govern society, which of course would be philosophers like himself. How this system was immune to corruption is a little unclear to me, but given what’s going on with democracies lately you can probably at least say he has some good points.


  • I’m just picking on a point that’s not relevant to your comment’s core idea, I’m not saying we shouldn’t share software or other goods and services with worker coops:

    worker coops, which don’t violate workers’ rights.

    Under capitalism worker cooperatives will also violate the rights of its workers even if less than traditional companies, because that’s what capitalism demands for their survival on the market.


    I think it’s kind of challenging to legally define what makes a party “worthy” of making use of the software or digital work. I think you would need to go on a case-by-case basis, but at that point it probably makes more sense to just make software source-available and actively encourage people to reach out to you to get permission to use the software and to modify and redistribute it.