programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
MaliciousKebab@sh.itjust.works to Programmer HumorEnglish ·
edit-2
1 year ago

Need a rust version too.

toggl.com

message-square
91
link
fedilink
831

Need a rust version too.

toggl.com

MaliciousKebab@sh.itjust.works to Programmer HumorEnglish ·
edit-2
1 year ago
message-square
91
link
fedilink
  • scratchresistor@thelemmy.club
    link
    fedilink
    arrow-up
    93
    arrow-down
    1
    ·
    1 year ago

    Python:

    from Rescues import Princess
    Princess.rescue()
    
    • bob_lemon@feddit.de
      link
      fedilink
      arrow-up
      27
      ·
      1 year ago

      map(lambda princess: princess.rescue(), [castle.get_princess() for castle in castles])

      • scratchresistor@thelemmy.club
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Don’t forget to keep your return values…

        rescued_princesses = [{"princess": princess, "rescued": princess.rescue()} for princess in [castle.get_princess() for castle in castles]]

    • CmdrKeen@lemmy.today
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago
      from Castle import Princess
      

      Done

Programmer Humor

programmer_humor

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: [email protected]

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.73K users / day
  • 4.53K users / week
  • 8.19K users / month
  • 18K users / 6 months
  • 2.4K local subscribers
  • 23.4K subscribers
  • 1.41K Posts
  • 52.9K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org