• 0 Posts
  • 64 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.












  • 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.






  • 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.