<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">   5. Re: How to fix the `class` keyword (Allen Wirfs-Brock)<div style="word-wrap:break-word"><div><div><br></div><div>One of those possible enhancement that has been talked about is to implicitly treat a [[Call]] of a class constructor as an implicit 'new', just like you are suggesting.</div></div></div></blockquote><div><br></div><div>Doesn't this need to be configurable, and Brendan Eich suggested? <a href="https://gist.github.com/ericelliott/1c6f451b2ed1b634c2f2">https://gist.github.com/ericelliott/1c6f451b2ed1b634c2f2</a><br><br>If implicit `new` is the only behavior, it blocks the factory refactor path. <a href="https://gist.github.com/ericelliott/e994ee541d0ed365f5fd">https://gist.github.com/ericelliott/e994ee541d0ed365f5fd</a><br><br>If skipping the `new` treatment is the only behavior, it breaks backward compatibility with constructors expecting the `new` treatment.</div><div><br>~ee</div></div>
</div></div>