halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sag to Programmer [email protected] • 2 years ago

I don't believe Auto Save feature in any software

lemm.ee

message-square
103
fedilink
841

I don't believe Auto Save feature in any software

lemm.ee

sag to Programmer [email protected] • 2 years ago
message-square
103
fedilink
  • @[email protected]
    link
    fedilink
    25•2 years 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•2 years ago

      You should just be able to while(true)

      • @[email protected]
        link
        fedilink
        9•2 years ago

        It’s a joke.

        • @[email protected]
          link
          fedilink
          3•2 years ago

          That sounds like an excuse.

      • @[email protected]
        link
        fedilink
        4•2 years 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]

Subscribe from Remote Instance

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
  • 1.35K users / day
  • 4.21K users / week
  • 8.62K users / month
  • 19K users / 6 months
  • 26.4K subscribers
  • 1.74K Posts
  • 63.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org