# Why can Strings be null?

**URL:** <https://forum.kirupa.com/t/why-can-strings-be-null/310070>\
**Category:** flash\
**Created:** [May 31, 2010, 9:52pm UTC](https://forum.kirupa.com/t/why-can-strings-be-null/310070 "2010-05-31T21:52:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IQAndreas](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Post date:** [May 31, 2010, 9:52pm UTC](https://forum.kirupa.com/t/why-can-strings-be-null/310070/1 "2010-05-31T21:52:43Z")

</div>

When all other primitives (Boolean, int, uint, Number) have default values, why does the String default to “null” rather than empty string “” ? In addition, String and null are two very different things.

What was the thinking behind that?

It seems more logical to me to only allow objects with “references” to be able to be “null”.

Why is that an issue you ask? No idea, I’m just curious why.
