Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30196
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: convert a string into a json object, |
| Date | 2016-04-02 21:01 -0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <ndpmal$2pr$1@dont-email.me> (permalink) |
| References | (4 earlier) <i0ftfbt8uvgeeg9nsn9hqk8496tmn647pp@4ax.com> <87d1q9qfyr.fsf@bsb.me.uk> <2542125.XVB1Yskezl@PointedEars.de> <ndon26$gbn$1@dont-email.me> <1630971.JlSNffjCh4@PointedEars.de> |
On 02/04/16 12:36, Thomas 'PointedEars' Lahn wrote:
> Aleksandro wrote:
>
>> On 01/04/16 23:07, Thomas 'PointedEars' Lahn wrote:
>>> Ben Bacarisse wrote:
>>>> John Harris <niam@jghnorth.org.uk.invalid> writes:
>>>>> The code contained
>>>>> const result = {};
>>>>> and
>>>>> result[i]= person;
>>>>>
>>>>> The constant result is not what I would call a constant. You've
>>>>> updated it.
>>>> const makes the binding immutable, the object isn't.
>>> Neither is the value as it is updated on each iteration. This code
>>> should break; ECMAScript got it wrong.
>>>
>>> Rule of thumb of good programming: Do not write code in a way that is
>>> harder to understand.
>>
>> I don't think we will change our way to code because you don't understand.
> ^^
> You must be referring to yourself and the voices in that troll head of
> yours.
>
> Straw man. I am *obviously* not the only one who thinks that this code is
> written in a counter-intuitive way, and should therefore be written
> differently.
Someone else agreeing with you doesn't make you automatically right.
Calling a troll someone who doesn't agree with you neither does.
By the way, since you ignored my question last time, I ask again: why
did you “unplonk” me? ;)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
convert a string into a json object, JRough <janis.rough@gmail.com> - 2016-03-31 19:12 -0700
Re: convert a string into a json object, Stefan Weiss <krewecherl@gmail.com> - 2016-04-01 10:42 +0200
Re: convert a string into a json object, JRough <janis.rough@gmail.com> - 2016-04-01 17:32 -0700
Re: convert a string into a json object, Stefan Weiss <krewecherl@gmail.com> - 2016-04-01 10:49 +0200
Re: convert a string into a json object, John Harris <niam@jghnorth.org.uk.invalid> - 2016-04-01 19:21 +0100
Re: convert a string into a json object, Aleksandro <aleksandro@gmx.com> - 2016-04-01 16:21 -0300
Re: convert a string into a json object, Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-04-01 20:36 +0100
Re: convert a string into a json object, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-02 04:07 +0200
Re: convert a string into a json object, Aleksandro <aleksandro@gmx.com> - 2016-04-02 12:07 -0300
Re: convert a string into a json object, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-02 17:36 +0200
Re: convert a string into a json object, Aleksandro <aleksandro@gmx.com> - 2016-04-02 21:01 -0300
Re: convert a string into a json object, Scott Sauyet <scott@sauyet.com> - 2016-04-02 20:40 +0000
Re: convert a string into a json object, Stefan Weiss <krewecherl@gmail.com> - 2016-04-02 01:18 +0200
Re: convert a string into a json object, John Harris <niam@jghnorth.org.uk.invalid> - 2016-04-02 11:29 +0100
Re: convert a string into a json object, Scott Sauyet <scott@sauyet.com> - 2016-04-02 20:30 +0000
Re: convert a string into a json object, JRough <janis.rough@gmail.com> - 2016-04-01 11:32 -0700
Re: convert a string into a json object, Stefan Weiss <krewecherl@gmail.com> - 2016-04-02 00:51 +0200
Re: convert a string into a json object, Aleksandro <aleksandro@gmx.com> - 2016-04-02 12:03 -0300
Re: convert a string into a json object, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-02 03:48 +0200
Re: convert a string into a json object, Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-04-02 04:25 +0200
csiph-web