Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 年前

Why use if/else when you can use try/if/catch?

lemmy.world

message-square
6
fedilink
77

Why use if/else when you can use try/if/catch?

lemmy.world

qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 3 年前
message-square
6
fedilink
  • fiah@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 年前

    exceptions are just fancy gotos

    • wvenable@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 年前

      Exceptions are fancy returns. Everything else is fancy goto, including returns…

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.
Visibility: Public
globe

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

  • 83 users / day
  • 806 users / week
  • 1.27K users / month
  • 5.94K users / 6 months
  • 440 local subscribers
  • 40.8K subscribers
  • 1.98K Posts
  • 40.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org