monyet.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago

know the features of your language

lemmy.world

message-square
145
fedilink
622

know the features of your language

lemmy.world

@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago
message-square
145
fedilink
  • @sndrtj@feddit.nl
    link
    fedilink
    28•1 year ago

    a.unwrap_or(b)

    • @itslilith@lemmy.blahaj.zone
      link
      fedilink
      12•1 year ago

      🦀

    • @FierySpectre@lemmy.world
      link
      fedilink
      1•1 year ago

      I tried picking up rust for the AoC, but any program I wrote ended up unreadable cuz of this unwrap_or. It just allows too much chaining. Then again other options for chaining operations aren’t much better, like match. Idk what I’m doing wrong or if rust never was meant to be readable.

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

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: !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.
  • 597 users / day
  • 1.09K users / week
  • 3.49K users / month
  • 9.99K users / 6 months
  • 36.3K subscribers
  • 1.76K Posts
  • 38.3K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org