CloudHub.Social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Tiger_Man_〔he/him〕@lemmy.blahaj.zone to Programmer Humor@programming.dev · 1 month ago

that's true

lemmy.blahaj.zone

message-square
14
link
fedilink
308

that's true

lemmy.blahaj.zone

Tiger_Man_〔he/him〕@lemmy.blahaj.zone to Programmer Humor@programming.dev · 1 month ago
message-square
14
link
fedilink
alert-triangle
You must log in or register to comment.
  • rtxn@lemmy.world
    link
    fedilink
    arrow-up
    55
    arrow-down
    1
    ·
    edit-2
    1 month ago

    That’s not the truth. It’s one of infinitely many truths. They hated him because Jesus didn’t understand how implicit type casting between int and bool worked.

    • owsei@programming.dev
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      1 month ago

      Lambda calculus gang has entered the chat with λx.λy.x as The Truth™

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 month ago

        I told them to leave a pamphlet and fuck off, but the pamphlet was a fixed-point combinator that put them back on my porch again.

    • Tanoh@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      And then there are things like strcmp() that uses 0 as true. At least it is for a good reason, but still confusing.

      • rtxn@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        I don’t find it confusing at all. The function doesn’t test equivalence, and the return value is not meant to be a logical value.

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 month ago

      if ((1 > 0) == 1)
      printf("The OG truth\n");

  • DrDeadCrash@programming.dev
    link
    fedilink
    arrow-up
    18
    ·
    1 month ago

    That’s ‘truthy’

  • AnotherPenguin@programming.dev
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 month ago

    Does JeSus use javascript?

  • Lemmist@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 month ago

    deleted by creator

    • lugal@sopuli.xyz
      link
      fedilink
      arrow-up
      15
      ·
      1 month ago

      If true:
      . return big

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      1 month ago

      Technically, if you ignore the inherent contradiction in the name, some languages treat NaN as a falsy number and the IEEE standards admit trillions of possible NaNs.

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 month ago

    Indexes start at 3. 😈

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      1 month ago

      No no… negative three

    • lefixxx@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      I’ll take it over 0, because it will force people to think with what arrays are populated. And if 1 index or 0index is appropriate instead of defaulting all arrays and loops at 0.

    • hakunawazo@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 month ago

      His index started like -6 or -4 (assuming he even existed).

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.

  • 3.29K users / day
  • 4.72K users / week
  • 9.28K users / month
  • 17K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 995 Posts
  • 24.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org