Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
monica_b1998@lemmy.world to Learn Programming@programming.dev · 2 个月前

Result<T, E> in TypeScript: A Better Alternative to Throwing

slicker.me

external-link
message-square
4
fedilink
7
external-link

Result<T, E> in TypeScript: A Better Alternative to Throwing

slicker.me

monica_b1998@lemmy.world to Learn Programming@programming.dev · 2 个月前
message-square
4
fedilink
Learn how to use Result in TypeScript for safer, clearer error handling without relying on exceptions everywhere.
  • felsiq@piefed.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 个月前

    Ditto for rust, although I didn’t read the article to know if they mentioned that one lol

    • Artwork@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 个月前

      Thank you! Apparently, they did not mention Rust, too ^^"

Learn Programming@programming.dev

learn_programming@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: !learn_programming@programming.dev

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don’t make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don’t ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you’re trying to solve. Don’t focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

Visibility: Public
globe

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

  • 1 user / day
  • 3 users / week
  • 66 users / month
  • 375 users / 6 months
  • 15 local subscribers
  • 2.19K subscribers
  • 161 Posts
  • 694 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • JaumeI@programming.dev
  • bugsmith@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org