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


Groups > comp.lang.javascript > #23813

Re: Boolean spacerequirment in javascript

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Boolean spacerequirment in javascript
Date 2014-04-07 15:11 +0200
Organization PointedEars Software (PES)
Message-ID <2806802.YhYcYyqj6s@PointedEars.de> (permalink)
References <3f966da1-6f24-44bb-8f1e-ef833896693c@googlegroups.com> <1d16e75b-1801-4de7-a123-6b4d0528a36b@googlegroups.com> <37549a11-46c2-49fd-abcd-e94bc6a18429@googlegroups.com> <XnsA3088B25DE64Eeejj99@194.109.133.133> <53429177$0$6699$9b4e6d93@newsspool2.arcor-online.net>

Show all headers | View raw


Christoph Michael Becker wrote:

> Evertjan. wrote:
>> jonas.thornvall@gmail.com wrote on 07 apr 2014 in comp.lang.javascript:
>>> And i read that javascript may store 32 bit for each boolean value?
>> 
>> NO!
>> 
>> A boolean value has only 1 [one] bit.
> 
> But may well use a full memory word for storage.

Exactly.  Given that there is no “javascript” programming language, no 
single language, and none at all; but (nowadays) only various different 
implementations of the same standard – the ECMAScript Language Specification 
(which for very good reason does not say anything about how to *store* 
values to begin with); but not necessarily the same Edition of it, and not 
necessarily fully defined by it –, the "question" and the "discussion" are 
completely bogus.

Before thinking about what a programming language "is", "does", "can" or 
"cannot", "could" or "could not" do – really, before *any* reasoning –, one 
should get one’s facts right.  Otherwise one will ever proceed from false 
premises – /ex falso quodlibet/ – and then, as one rather famous Scotsman 
wrote, “insensibly one begins to twist facts to suit theories, instead of 
theories to suit facts.” [1]

The most important fact here is:

  There is no javascript.

See <http://PointedEars.de/es-matrix> for details.

(I know that you, Christoph, know this already.)

_________
[1] DOYLE, A.C.: A Scandal in Bohemia; in: “The Adventures of Sherlock
    Holmes”. George Newnes Ltd., London, 1892. (First published in: “The 
    Strand Magazine”, London, 1891.)
-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

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


Thread

Boolean spacerequirment in javascript jonas.thornvall@gmail.com - 2014-04-06 21:58 -0700
  Re: Boolean spacerequirment in javascript jonas.thornvall@gmail.com - 2014-04-06 22:10 -0700
  Re: Boolean spacerequirment in javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-04-07 00:42 -0700
    Re: Boolean spacerequirment in javascript jonas.thornvall@gmail.com - 2014-04-07 01:23 -0700
      Re: Boolean spacerequirment in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-04-07 13:40 +0200
        Re: Boolean spacerequirment in javascript Christoph Michael Becker <cmbecker69@arcor.de> - 2014-04-07 13:52 +0200
          Re: Boolean spacerequirment in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-04-07 14:15 +0200
          Re: Boolean spacerequirment in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-04-07 15:11 +0200
            Re: Boolean spacerequirment in javascript Tim Streater <timstreater@greenbee.net> - 2014-04-07 16:22 +0000

csiph-web