foros.fediverso.gal
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@lars@lemmy.sdf.org to Memes@lemmy.ml • 1 year ago

Has anyone notified Elon?

lemmy.sdf.org

message-square
26
fedilink
1

Has anyone notified Elon?

lemmy.sdf.org

@lars@lemmy.sdf.org to Memes@lemmy.ml • 1 year ago
message-square
26
fedilink
  • @morrowind@lemmy.ml
    link
    fedilink
    0•1 year ago

    It’s all fun and games until you have to implement goingToCrashIntoEachOther()

    • @tourist@lemmy.world
      link
      fedilink
      0•1 year ago
      void dont() {
          fuckenNoseDiveLmao();
      }
      
      • @lars@lemmy.sdf.orgOP
        link
        fedilink
        0•1 year ago

        Did a Japanese lunar probe write this?

      • r00ty
        link
        fedilink
        0•1 year ago

        Well I think goingToCrashIntoEachOther needs to return another drone object. Then don’t can take that object. Based on self.serialNo and other.serialNo a mutually beneficial avoiding manoeuvre could be executed.

        If you’re about to crash into more than one other drone… Good luck the function specifies “EachOther” meaning just one other drone!

        • @tourist@lemmy.world
          link
          fedilink
          0•1 year ago

          this calls for a whiteboard

    • @YIj54yALOJxEsY20eU@lemm.ee
      link
      fedilink
      0•1 year ago

      Love me some clean code. Just please don’t look at the function definition or ever expect me to change my pyramid of abstractions.

    • @AnUnusualRelic@lemmy.world
      link
      fedilink
      0•1 year ago

      That’s what interns are for.

    • @lobelia581@lemmy.dbzer0.com
      link
      fedilink
      English
      0•
      edit-2
      1 year ago

      // TODO: needs improvements but works 99% of the time

      return false;

      • @ApeNo1@lemm.ee
        link
        fedilink
        English
        0•1 year ago

        return (staticCrashCounter++ % 100 == 0 ? true : false);

      • @Scubus@sh.itjust.works
        link
        fedilink
        0•1 year ago

        To improve that, you could get rid of the comment to save space.

      • @ifGoingToCrashDont@lemmy.world
        cake
        link
        fedilink
        0•1 year ago

        This looks good. PR approved.

    • AnonTwo
      link
      fedilink
      0•1 year ago

      You leaked the code for when it’s out of warranty

      • @Viking_Hippie@lemmy.world
        link
        fedilink
        0•1 year ago

        Or when your subscription to braking has lapsed.

Memes@lemmy.ml

!memes@lemmy.ml

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: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
  • 2.42K users / day
  • 4.47K users / week
  • 7.27K users / month
  • 20K users / 6 months
  • 51.3K subscribers
  • 14.9K Posts
  • 308K Comments
  • Modlog
  • mods:
  • ghost_laptop
  • @sexy_peach@feddit.de
  • Cyclohexane
  • Arthur Besse
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org