Derock's Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 5 days ago

Modern Programming

lemmy.zip

message-square
70
fedilink
1

Modern Programming

lemmy.zip

Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 5 days ago
message-square
70
fedilink
  • jacksilver@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 days ago

    I think the idea is it reads more naturally, so you can read it like this return A if statement is true else return B

    • Nalivai@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      Is it really more natural for a non-programmer than “if statement is true than a else b”? I can’t evaluate because of decades of C, so for me the python logic is still bizarre.

    • entropicdrift@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      4 days ago

      Yep, it’s this

Programmer Humor@programming.dev

programmer_humor@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: [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.

  • 74 users / day
  • 470 users / week
  • 1.59K users / month
  • 3.96K users / 6 months
  • 0 local subscribers
  • 24.2K subscribers
  • 1.03K Posts
  • 20.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org