[email protected]
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected] • 1 year ago

Has anyone notified Elon?

lemmy.sdf.org

message-square
26
fedilink
708

Has anyone notified Elon?

lemmy.sdf.org

@[email protected] to [email protected] • 1 year ago
message-square
26
fedilink
  • @[email protected]
    link
    fedilink
    76•1 year ago

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

    • @[email protected]
      link
      fedilink
      English
      65•
      edit-2
      1 year ago

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

      return false;

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

        This looks good. PR approved.

      • @[email protected]
        link
        fedilink
        English
        13•1 year ago

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

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

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

    • @[email protected]
      link
      fedilink
      40•1 year ago
      void dont() {
          fuckenNoseDiveLmao();
      }
      
      • r00ty
        link
        fedilink
        5•
        edit-2
        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!

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

          this calls for a whiteboard

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

        Did a Japanese lunar probe write this?

    • AnonTwo
      link
      fedilink
      12•1 year ago

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

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

        Or when your subscription to braking has lapsed.

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

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

      That’s what interns are for.

[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]

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.
  • 1.07K users / day
  • 3.27K users / week
  • 7.03K users / month
  • 22.4K users / 6 months
  • 51K subscribers
  • 11.3K Posts
  • 139K Comments
  • Modlog
  • mods:
  • ghost_laptop
  • @[email protected]
  • Cyclohexane
  • Arthur Besse
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org