lemmy.amxl.com
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
chaospatterns@lemmy.world to Programming@programming.devEnglish · 3 months ago

Falsehoods programmers believe about null pointers

purplesyringa.moe

external-link
message-square
12
fedilink
37
external-link

Falsehoods programmers believe about null pointers

purplesyringa.moe

chaospatterns@lemmy.world to Programming@programming.devEnglish · 3 months ago
message-square
12
fedilink
Null pointers look simple on the surface, and that’s why they’re so dangerous. As compiler optimizations, intuitive but incorrect simplifications, and platform-specific quirks have piled on, the odds of making a wrong assumption have increased, leading to the proliferation of bugs and vulnerabilities. This article explores common misconceptions about null pointers held by many programmers, starting with simple fallacies and working our way up to the weirdest cases. Some of them will be news only to beginners, while others may lead experts down the path of meticulous fact-checking. Without further ado, let’s dive in.
  • refalo@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    Details like the fact that people can have differing opinions and perspectives, and should not speak in absolutes?

    • talkingpumpkin@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      8
      ·
      3 months ago

      deleted by creator

Programming@programming.dev

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

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

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

  • 160 users / day
  • 1.09K users / week
  • 2.57K users / month
  • 6.91K users / 6 months
  • 1 local subscriber
  • 20K subscribers
  • 2.2K Posts
  • 33.9K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org