Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24927

Re: Can you change value of a substring?

Newsgroups comp.lang.javascript
Subject Re: Can you change value of a substring?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <a6d074ff-773b-42d0-96dc-31bd5d733e3d@googlegroups.com> <XnsA350E19EA17B4eejj99@194.109.133.133> <string-20140618222250@ram.dialup.fu-berlin.de> <XnsA350F12DEEDEBeejj99@194.109.133.133> <53a20f16$0$6670$9b4e6d93@newsspool3.arcor-online.net>
Date 2014-06-19 00:45 +0200
Message-ID <XnsA3517C4494D0eejj99@194.109.133.133> (permalink)

Show all headers | View raw


Christoph Michael Becker <cmbecker69@arcor.de> wrote on 19 jun 2014 in 
comp.lang.javascript:

> I beg to differ that this is only related to the implementation,

I did not say that, 
I said it is possible to write a Javascript engine that can.
Would that be forbidden by the ECMA specs?

> Mutable strings vs. immutable strings are 
> an important *semantic* concept for the programmer.

I don't think so.

All variables in Javascript are in a sense immutable,
but some shorthand operators make it seem they are.

You might say [ I say only apparently so ] 
    i++;
shows mutability.

But [seen the inner workings of string concatenation]
    mystring += " add this to the string";
certainly not.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 12:39 -0700
  Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:09 -0700
    Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-18 23:18 +0200
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:35 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 15:52 -0700
    Re: Can you change value of a substring? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-06-18 16:14 -0700
  Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 22:10 +0200
    Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:17 -0700
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 22:52 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 14:03 -0700
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:07 +0200
            Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 15:28 -0700
    Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:20 -0700
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 23:22 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 14:40 -0700
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:31 +0200
    Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 23:42 +0200
      Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 00:13 +0200
        Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:45 +0200
          Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 01:32 +0200
            Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 09:43 +0200
        Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 01:48 +0200
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 09:56 +0200
  Re: Can you change value of a substring? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-06-18 16:12 -0700

csiph-web