Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.

  • randombullet@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    2 hours ago

    I remember on Reddit several years ago I said that automatic bitlocker is the curse of installing W11 on a laptop.

    I got down voted so hard. One comment even said you should be thankful because encrypting by default should be the norm.

    But yet if I add any thunderbolt device to my windows before I boot it, it requires me to input my 25 character bitlocker key… that’s hosted online within my Microsoft account.

    Bitlocker enabling by default without user input is horrible. Hosting the keys online is also horrible. It could be so easy to socal engineer into your Microsoft account.

  • Bo7a@piefed.ca
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 hours ago

    Choosing cattle over pets is often a mistake. Yes, even cloud-based cattle.

  • jason@discuss.online
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    5 hours ago

    OOP dogma isn’t just bad, it’s actively harmful. OOP leads to unnecessary boilerplate. Any boilerplate that is not absolutely necessary is noise and bad. Full stop.

    Private (Getters/setters): Strictly not a necessity in any sense of the word.

    Short functions everywhere.

    Short files everywhere.

    I prefer to see the steps of execution that are actually happening in the real world on hardware. Not an ivory tower of code that happens to execute.

  • philipp_@discuss.tchncs.de
    link
    fedilink
    arrow-up
    28
    arrow-down
    4
    ·
    7 hours ago

    systemd does a lot of things very right and a mayor reason that linux is in a way better place than 15 years ago. 27 unmaintained tools are not better than one that is professionally developed.

  • Hundun@beehaw.org
    link
    fedilink
    arrow-up
    9
    ·
    6 hours ago

    If you are getting paid for engineering software, your labour should be licenced in an appropriate jurisdiction, and you should be liable to losing said licence if you do shit job.

  • Chloé 🥕@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    53
    ·
    11 hours ago

    if you’re making a user-facing program, you should always design with the possibility that it will be run on some truly dogshit hardware and you should make sure that they still have a good experience. good computer hardware is a luxury on the world scale, even before the rampocalypse

    related, but the answer to the question “who still uses {x} these days?” is almost always way, wayyyy more people than you think

  • ThePuy@feddit.nl
    link
    fedilink
    arrow-up
    18
    ·
    11 hours ago

    Java Is actually good for what it does, maintain long term systems that only need updating every once in a while

  • melsaskca@lemmy.ca
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    10 hours ago

    The billionaire tech bros are making money hand over fist without the need for advertisers subsidizing them, and interrupting users all over the world. Little secret…the users know products exist and will go out and seek those products when it is necessary to do so. This activity leads to learning about more products through the ancient art of “browsing”.