• 0 Posts
  • 35 Comments
Joined 2 years ago
cake
Cake day: May 31st, 2023

help-circle









  • It’s more language dependent than ide. Go for instance makes unused variables a compiler error (I believe) which means ides mark it as red immediately.

    Ts/js can have eslint rules against unused variables but they will still usually compile or just run directly anyway.

    Java doesnt error but can be set to warn you on them.

    Abap doesn’t care and won’t tell you.

    Your mileage will vary.








  • 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


  • 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
    ·
    1 year 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.