86thumbs
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 months ago

Infallible Code

lemmy.ml

message-square
163
fedilink
459

Infallible Code

lemmy.ml

Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 months ago
message-square
163
fedilink
  • Oriel Jutty :hhHHHAAAH:@infosec.exchange
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    @tetris11 @Aedis More like:

    isEven() {    case "$1" in        *[02468]) return 0;;        *) return 1;;    esac;}
    

    (If all the line breaks are gone from this code snippet, blame Lemmy. It looks fine here.)

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

remote_follow_modal_title

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

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
community_visibility: public
globe

public_blurb

  • 494 users / day
  • 1.33K users / week
  • 2.16K users / month
  • 7.96K users / 6 months
  • number_of_local_subscribers
  • 38.6K subscribers
  • 1.86K Posts
  • 39.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org