---
title: "Discussion on \"Why should we use nullptr instead of NULL or 0?\" | Hashnode"
description: "Discussion on \"Why should we use nullptr instead of NULL or 0?\". Summary of Item 8 from Effective Modern C++: Why we should use nullptr instead of 0 or NULL. Explained in simple terms with code readability in mind."
url: "https://hashnode.com/posts/why-should-we-use-nullptr-instead-of-null-or-0/6806b37ad150ab5aba527b93"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why should we use nullptr instead of NULL or 0?](https://jaewondevlog.hashnode.dev/why-should-we-use-nullptr-instead-of-null-or-0?utm_source=hashnode&utm_medium=feed)

Summary of Item 8 from Effective Modern C++: Why we should use nullptr instead of 0 or NULL. Explained in simple terms with code readability in mind.

Apr 21, 2025 · 1 min read · jaewondevlog.hashnode.dev  
Read the article

-   [#nullptr](https://hashnode.com/tag/nullptr)
-   [#effective-c](https://hashnode.com/tag/effective-c)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#modern-c](https://hashnode.com/tag/modern-c)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Jaewon Shin](https://hashnode.com/@j1shin)

@j1shin

  
[View profile](https://hashnode.com/@j1shin)

Software Engineer | Writing About Code, Careers & Problem-Solving

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
