Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
PotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year ago

The easiest problem

discuss.tchncs.de

message-square
101
fedilink
624

The easiest problem

discuss.tchncs.de

PotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year ago
message-square
101
fedilink

https://mastodon.social/@lovegame/112402050452885908

  • owenfromcanada@lemmy.world
    link
    fedilink
    English
    arrow-up
    75
    arrow-down
    1
    ·
    1 year ago

    Nah, I name all my variables after my homies.

    int dave = 0;

    • rufus@discuss.tchncs.de
      link
      fedilink
      arrow-up
      34
      ·
      1 year ago

      does dave know he’s a zero?

      • owenfromcanada@lemmy.world
        link
        fedilink
        English
        arrow-up
        53
        ·
        1 year ago

        In zero-based indexing, zero is #1.

        • imPastaSyndrome@lemm.ee
          link
          fedilink
          arrow-up
          8
          ·
          1 year ago

          Dave was number one!

          • TXL@sopuli.xyz
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            But they had to be enterprise, so he became a number one factory.

      • codfishjoe@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        edit-2
        1 year ago

        His best friends index starts at 0

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      Ah, the XCOM approach. Now you look after those variables and get sad when you have to delete them.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.72K users / day
  • 4.77K users / week
  • 9.34K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.31K Posts
  • 43.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org