<br><div class="gmail_quote">On Tue, Aug 21, 2012 at 4:55 AM, Regan Heath <span dir="ltr"><<a href="mailto:regan@netmail.co.nz" target="_blank">regan@netmail.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Plus, I don't buy the argument that having to explicitly type ".get" will stop anyone from automatically coding statements like:</div>
<br>
val g: Option[T] = f.doSomething()<br>
g.get.doSomethingElse()<br>
<br>
and suffering the exact same null pointer exception/error despite using Option and boxing into a Not-Null type.<br>
<br><span class="HOEnZb"><font color="#888888"><br>
R<br>
<br></font></span></blockquote><div><br></div><div>C++ and D have language constructs to allow you to cast away const-ness and immutability, does that mean we have to do away with the concept just because there is a way around it?</div>

<div><br></div><div> </div></div>--<br>Ziad