• 0 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: May 31st, 2023

help-circle

  • Await is usually there either because the performance doesn’t matter and the legibility is much higher with it, and/or because there are a series of asynchronous actions that depend on each other and await lets you write them as if they are sync because related to each other they are.



  • Luvon@beehaw.orgtoJokes and Humor@beehaw.orgBBQ
    link
    fedilink
    arrow-up
    57
    ·
    1 month ago

    Which of your “friends” do you dislike so much that you invite them to a bbq but are absolutely unwilling to make food that they will eat?

    When I cook I cater to my guests, because I like them, their company, and want them to come and feel welcome.






  • Luvon@beehaw.orgto196@lemmy.blahaj.zonefixed rule
    link
    fedilink
    arrow-up
    14
    ·
    7 months ago

    Allman or even horstmann I could still deal with, the rest would be difficult.

    Though none are as bad as whoever came up with right aligning all the brackets to make any code look like python until you spot the deranged line of brackets on the right…

    I cannot for the life of me find it now but the dude put it on GitHub


  • Luvon@beehaw.orgto196@lemmy.blahaj.zonefixed rule
    link
    fedilink
    arrow-up
    4
    ·
    7 months ago

    That last line is the solution though, choose a linter, enforce all style arguments, so they are just the way the code is. No arguments.

    Every single project I work on is setup with prettier. With Java there is a maven plugin that runs it on compile. And with ts projects it is part of the built pipeline.

    I wish I could use prettier for Abap, reminds me how much I like having an opinionated formatter. I don’t like wasting time formatting code manually.

    Abap has one formatter that is not very opinionated, and lets way more to much wierd spacing through, especially for a language that is as verbose as abap.


  • Luvon@beehaw.orgto196@lemmy.blahaj.zonerule
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    When I initially read your version I didn’t even notice what was different. I think the article makes a lot of good points, and rereading the original and your version, I see the difference.

    The mindset that annoys me is people being mean and closed minded, and malevolent ignorance. so why use a bad proxy for like stupid, for the actual behavior and attitude that I have an issue with.

    I’ve seen similar arguments for not body shaming people for being toxic trolls, and found it quite compelling.