Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag to Programmer [email protected] • 1 year ago

I don't believe Auto Save feature in any software

lemm.ee

message-square
105
fedilink
861

I don't believe Auto Save feature in any software

lemm.ee

sag to Programmer [email protected] • 1 year ago
message-square
105
fedilink
  • @[email protected]
    link
    fedilink
    27•1 year ago

    We can optimize this further:

    unsatisfied = true
    while(unsatisfied) {
        key.dispatch(
            Keyboard::Ctrl,
            Keyboard::s
        )
    }
    

    …No, there is no instance where unsatisfied changes state

    • Lunya \ she/it
      link
      fedilink
      4•1 year ago

      You should just be able to while(true)

      • @[email protected]
        link
        fedilink
        9•1 year ago

        It’s a joke.

        • @[email protected]
          link
          fedilink
          3•1 year ago

          That sounds like an excuse.

      • @[email protected]
        link
        fedilink
        4•1 year ago

        Don’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)

Programmer [email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 45 users / day
  • 481 users / week
  • 1.28K users / month
  • 4.57K users / 6 months
  • 3 subscribers
  • 1.62K Posts
  • 57.7K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org