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

help-circle





  • For me it’s much easier to lock the phone by holding any volume and power then to remember the sequence needed to force power of the phone.

    Clicking 5 times on power is probably faster, but I forgot that existed and if I’m trying to do something quickly essentially squeezing my phone is easier than trying to tap the correct side 5 times quickly under pressure. And much easier to me then trying to remember the force power off sequence and performing it without looking under stress.

    Especially on the iPhone 15 pros there is now another button so getting the up down up power means finding the correct up button.

    I’ve looked up that sequence numerous times when I’ve needed to force reboot and I still forget it half the time.














  • Luvon@beehaw.orgto196@lemmy.blahaj.zonefixed rule
    link
    fedilink
    arrow-up
    0
    ·
    9 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
    0
    ·
    9 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.