# Reply as Linked Topic with multiple quotes does not work properly

**URL:** <https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468>\
**Category:** Bug\
**Created:** [21 Febbraio 2015, 4:09am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468 "2015-02-21T04:09:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![JazzyJosh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jazzyjosh/32/122515_2.png) [@JazzyJosh](https://meta.discourse.org/u/JazzyJosh)\
**Post date:** [21 Febbraio 2015, 4:09am UTC](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468/1 "2015-02-21T04:09:42Z")

</div>

[Login to your account - What the Daily WTF?](http://what.thedailywtf.com/t/discocode/8317)

Distilled below:

Reply as linked topic post contents:

```plaintext
[quote="immibis_, post:141, topic:8178"]
[quote="JazzyJosh, post:123, topic:8178"]

There's no reason to write
[code]if (string != null && !string.isEmpty())[/code]

when you can just write

[code]if (!string.isNullOrEmpty())[/code]

if you don't actually need to differentiate between a null result and an empty result. Of course null and empty aren't the same, but if you don't care, then it doesn't matter.

Basically:

[/quote]

But, under what circumstances is that actually the right thing to do?
[/quote]
```

Actual post whose contents were quoted

[code]

> [@JazzyJosh](#):
>
> There’s no reason to write
> 
> ```plaintext
> if (string != null && !string.isEmpty())
> ```
> 
> when you can just write
> 
> ```plaintext
> if (!string.isNullOrEmpty())
> ```
> 
> if you don’t actually need to differentiate between a null result and an empty result. Of course null and empty aren’t the same, but if you don’t care, then it doesn’t matter.
> 
> Basically:
> 
> > [@boomzilla](#):
> >
> > This stuff almost always seems overblown to me. How often is it really important to differentiate between null and an empty string?

But, under what circumstances is that actually the right thing to do?  
[/code]:

---

_[View the full topic](https://meta.discourse.org/t/reply-as-linked-topic-with-multiple-quotes-does-not-work-properly/25468)._
