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

Infallible Code

lemmy.ml

message-square
165
fedilink
457

Infallible Code

lemmy.ml

Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 months ago
message-square
165
fedilink
  • Oriel Jutty :hhHHHAAAH:@infosec.exchange
    link
    fedilink
    arrow-up
    5
    ·
    2 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

  • 18 users / day
  • 763 users / week
  • 2K users / month
  • 8.61K users / 6 months
  • number_of_local_subscribers
  • 38.2K subscribers
  • 1.84K Posts
  • 38.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org