awful.systems
  • Communities
  • Create Post
  • 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
138
fedilink
641

know the features of your language

lemmy.world

@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago
message-square
138
fedilink
  • @sndrtj@feddit.nl
    cake
    link
    fedilink
    29•2 years ago

    a.unwrap_or(b)

    • @itslilith@lemmy.blahaj.zone
      link
      fedilink
      12•2 years ago

      🦀

    • @FierySpectre@lemmy.world
      link
      fedilink
      1•2 years 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

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.
  • 321 users / day
  • 1.05K users / week
  • 3.08K users / month
  • 9.31K users / 6 months
  • 37.1K subscribers
  • 1.71K Posts
  • 31.2K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org