Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day ago

Peak code reuse

eviltoast.org

message-square
41
fedilink
435

Peak code reuse

eviltoast.org

orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 1 day ago
message-square
41
fedilink
  • a14o@feddit.org
    link
    fedilink
    arrow-up
    50
    ·
    1 day ago

    To fix this, add if(num == 255) return true; before line 10.

    • CannonFodder@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      1 day ago

      Peak efficiency there.

      But use 2147483647 to be safe.

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.

  • 981 users / day
  • 4.49K users / week
  • 8.74K users / month
  • 19.8K users / 6 months
  • 1 local subscriber
  • 26.3K subscribers
  • 1.3K Posts
  • 31.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org