Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
roon ( roon@lemmy.ml )  to Programmer Humor@programming.devEnglish · 3 年前

Hilarious

lemmy.ml

message-square
6
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
310

Hilarious

lemmy.ml

roon ( roon@lemmy.ml )  to Programmer Humor@programming.devEnglish · 3 年前
message-square
6
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • KidnappedByKitties ( KidnappedByKitties@lemm.ee ) 
    link
    fedilink
    arrow-up
    17
    ·
    3 年前

    102 times

    • Rubanski ( Rubanski@lemm.ee ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 年前

      Why 102? Isn’t it 0-100?

  • Tja ( Tja@programming.dev ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 年前

    Reason 5: she doesn’t exist and you’re bad at cropping

  • Python ( python@programming.dev ) 
    link
    fedilink
    arrow-up
    8
    ·
    3 年前

    I’ll do you one better

    function* sorry() { yield "I'm sorry"; }

    Call sorry.next().value as many times as you need to baby, hell you can even use it in a for-of loop because Generator functions are Iterable. I fucking love JavaScript

    • brian ( brian@programming.dev ) 
      link
      fedilink
      arrow-up
      4
      ·
      3 年前

      lol that doesn’t work either tho. it yields the string once and then is done. you still need a loop inside

      • Python ( python@programming.dev ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 年前

        You’re right! That’s actually a really cool point about Generator functions too, them having while(true) loops is very unproblematic :D

        I’m correcting myself to:

        function* sorry() { while(true){ yield "I'm sorry"; } }

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.07K users / day
  • 2.37K users / week
  • 3.67K users / month
  • 7.33K users / 6 months
  • 463 local subscribers
  • 33.6K subscribers
  • 1.55K Posts
  • 25.4K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code