Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sus@programming.dev to Programmer Humor@programming.devEnglish · 22 hours ago

Stringly typed

programming.dev

message-square
82
fedilink
505

Stringly typed

programming.dev

sus@programming.dev to Programmer Humor@programming.devEnglish · 22 hours ago
message-square
82
fedilink
  • Valmond@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    20 hours ago

    Just cast it. /s

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      I believe, that would mean that any 0 is equivalent to the null pointer, since the null pointer is just memory address 0…

      • qqq@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        12 hours ago

        Not exactly “memory address 0”; there be dragons there. https://c-faq.com/null/index.html

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        17 hours ago

        In C that would make sense yes.

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.

  • 2.15K users / day
  • 3.6K users / week
  • 8.94K users / month
  • 19.7K users / 6 months
  • 1 local subscriber
  • 26.2K subscribers
  • 1.75K Posts
  • 58.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org