> +1 to adding "use strict" to the module wrapper, so that all server sidecode is implicitly strict, whether it says so or not. Having uses of octal
be a bit more awkward is a small price to pay for the increase in sanity.
Bit surprised to hear this from you! It seems dangerous to introduce this..
> Marcel, you know full well that responsible semicolon minimalists wouldbalk at the very notion of starting a line with ( and not prefixing it with
they're talking about endorses either.
> This "always" "never" business is a strawman duel. No one who knows what
Dude I wasn't trying to turn this into a duel. I'm saying that neither
> I always use semicolons where they belong, or at least, that is myintention. In what way is this not safe?
For the most part you should be fine. The only thing I could realistically
}foo() returns undefined!
On Fri, Jan 20, 2012 at 2:20 PM, Mark Miller <erig...@gmail.com> wrote:
> Hi Isaac, because of this octal impediment, we've decided to support 0o666
> octal literals, and 0b10101 binary literals while we're at it, to ES6.
> However, in the meantime, I think this is a truly terrible reason to burden
> the community with the continued presence of non-strict server-side code.
> Think of non-strict code as toxic waste -- we can't deny its inevitable
> continued existence, but let's please keep it out of places where people
> are still living (active code being actively maintained). It isn't even
> lexically scoped. Going forward, its only remaining purpose should be to
> keep old websites working even when their sources are no longer being
> actively maintained, i.e., most of the web, but essentially none of NodeJS
> or other server-side code.
> +1 to adding "use strict" to the module wrapper, so that all server side
> On Fri, Jan 20, 2012 at 11:27 AM, Isaac Schlueter <i...@izs.me> wrote:
>> A while ago (0.5, I think?) I looked into adding a NODE_USE_STRICT
>> It didn't seem to affect any of our benchmarks. So, to claim speed
>> Attributing 99% of non-strict JS use to laziness is a bit
>> On Fri, Jan 20, 2012 at 11:11, AJ ONeal <coola...@gmail.com> wrote:
>> > 99% Laziness (the inefficient kind)
>> > Since node is all about speed and "use strict"; mode allows for
>> > I'm watching one of the Crockford videos right now as and just aching
>> > AJ ONeal
>> > --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.