Groups | Search | Server Info | Login | Register


Groups > comp.lang.forth > #134137

standards

From Ivan Shmakov <ivan@siamics.netREMOVE.invalid>
Newsgroups comp.lang.forth
Subject standards
Date 2025-08-24 09:30 +0000
Organization Dbus-free station.
Message-ID <ID351XcOrll9pkb7@violet.siamics.net> (permalink)
References (15 earlier) <107dokd$2s7am$1@dont-email.me> <20250811145732.00004e6e@gmail.com> <107imbr$1nk0$1@dont-email.me> <20250813121414.0000180d@gmail.com> <87h5yb0zr8.fsf@nightsong.com>

Show all headers | View raw


>>>>> On 2025-08-13, Paul Rubin wrote:
>>>>> John Ames <commodorejohn@gmail.com> writes:

 >> No, I think I'll stick with active scorn and spite towards web
 >> designers who can't be bothered to do their job properly.  The
 >> attitude that it should be considered acceptable for web designers
 >> to dictate people's choice of browser was contemptible in the
 >> '90s-'00s and it's contemptible now.

 > There's a web standard (HTML5)

	It's been WHATWG's "HTML Living Standard" for a while now, to
	the point that https://www.w3.org/TR/html/ (to which 
	https://www.w3.org/TR/html53/ and such redirect to) now
	redirects to https://html.spec.whatwg.org/multipage/ .

	Consider:

$ lynx --dump --nolist -- html.spec.whatwg.org/index.html 
...
   For a number of years, both groups then worked together. In 2011,
   however, the groups came to the conclusion that they had different
   goals: the W3C wanted to publish a "finished" version of "HTML5", while
   the WHATWG wanted to continue working on a Living Standard for HTML,
   continuously maintaining the specification rather than freezing it in a
   state with known problems, and adding new features as needed to evolve
   the platform.

   In 2019, the WHATWG and W3C signed an agreement to collaborate on a
   single version of HTML going forward: this document.
...

	The old "HTML5" specifications can be found on Wayback Machine:

http://web.archive.org/web/20181229172047/https://www.w3.org/TR/html53/ (WD)
http://web.archive.org/web/20181230024229/https://www.w3.org/TR/html52/
http://web.archive.org/web/20190102083213/https://www.w3.org/TR/html51/
http://web.archive.org/web/20181231135142/http://www.w3.org/TR/html5/

 > and it includes all those features that you (and I) dislike.
 > We could agree that it's a BAD standard.  Some people feel the
 > same about ANS Forth.

	I'd be cautious comparing standards for data formats, such as
	HTML, and standards for programming languages.  The latter tend
	to document some "common subset" that different implementations
	have all agreed upon supporting.

	HTML standard, OTOH, /must/ document such things as <marquee />
	element and bgcolor= attribute - simply because those are used
	on the web at large.  (Whether because the HTML document in
	question has never been updated, or because its author has
	never learned any newer standards.)

 > But it's there, and the big browsers implement it, and web
 > developers for the most part follow it.

	The problem is not with the HTML standard itself, but rather
	that by using the JavaScript programming language (the support
	for which, AFAICT, the standard does /not/ require), it's
	possible for the site operator to deliver a /web application/
	in place of a /web page./  Which is inconvenient at best, and
	can be seen as outright abuse of "modern web standards" at worst.

	Consider that, e. g., MS-DOS didn't (AIUI) provide an adequate
	text file viewer until EDIT.COM in version 5.0.  Thus software
	tended to include one in the distribution - so to allow for
	viewing its README.TXT file, if there was one.  (See README.EXE
	in [1] and [2] for example.)

[1] http://www.classicdosgames.com/files/games/capstone/14zorro.zip
[2] http://www.classicdosgames.com/files/games/virgin/cc1demo.zip

	Some distributions, however, /embedded/ the text file in said
	viewer, thus /only/ allowing it to be viewed through that
	program - which is, too, inconvenient at best; and is not
	dissimilar to what /some/ of "modern websites" do.

	And let me quote section 4.12 "Scripting" of the standard
	itself (emphasis mine):

 HTML> Scripts allow authors to add interactivity to their documents.

 HTML> Authors are encouraged to use declarative alternatives to
 HTML> scripting where possible, as declarative mechanisms are often
 HTML> more maintainable, *and many users disable scripting.*

 HTML> For example, instead of using a script to show or hide a section
 HTML> to show more details, the details element could be used.

 HTML> Authors are also encouraged to make their applications degrade
 HTML> gracefully in the absence of scripting support.

 HTML> For example, if an author provides a link in a table header to
 HTML> dynamically resort the table, the link could also be made to function
 HTML> without scripts by requesting the sorted table from the server.

 > I write C++ code sometimes.  C++11 introduced a lot of new features
 > that weren't in earlier versions.  They were refined further in C++14
 > and later.  Am I irresponsible or not doing my job if I use those
 > features, instead of writing C++98 code in 2025?

	The short answer is: maybe.

	Now, I don't recall writing anything of substance in C++ since
	c. 2002, so can't really comment on C++ standards.  I do have,
	however, certain rules regarding what features of the underlying
	platform to use in my programs.

	Most often, I write my software for the users of Debian and its
	derivatives.  The requirement for new software entering Debian
	is that it works in "testing" / "unstable," so if the language
	implementation it needs hasn't been updated /in Debian/ for a
	decade, then a decade-old language is what you need to target.

	(Or you can negotiate adopting the implementation's package and
	update it to a newer upstream version, if there's one.)

	That said, I rarely care for my software to become /part/ of
	Debian proper, merely to be usable by Debian users - who
	typically run its "stable" branch, but some may delay their
	upgrade there for months, so it's more practical to target
	"oldstable" instead.

	With Debian release cycle of two years, that introduces a
	lag of up to four years between a standard is adopted by an
	implementation in Debian and its availability to my needs.

	So, for an example, I'd be wary of relying on C++14 before 2018.

	Were I to write software to be included in Debian, I'd try to
	make it also run on "stable" and not just "testing."  Even
	though no new software is admitted into "stable," there's a
	separate "backports" repository for software from "testing"
	rebuilt to work on "stable."

	With regards to JavaScript, I tend to stick to ES 5.1 [3] from
	2011.  On one hand, it has a bunch of independent implementations:
	http://duktape.org/ , http://mujs.com/ , likely QuickJS as well.
	On the other, I find said version much more manageable than the
	newest ones.  (My copy of [3] is 1 416 907 bytes, and of [4],
	6 598 417 bytes.)

[3] http://262.ecma-international.org/5.1/
[4] http://262.ecma-international.org/11.0/

	I believe that aside of certain special cases, it /does/ make
	sense to test one's software with 20 year old hardware - though
	it's not something I practice often myself, alas.  Aside of
	possibly helping with the global e-waste disposal problem, such
	testing might reveal issues simply not noticeable on newer,
	faster hardware.

	Consider, e. g., http://t3x.org/t3x/ compilers - those, it is
	my understanding, are tested to work on hardware running CP/M.

	Overall, a degree of "minimalism" in software development is
	advisable.  I believe "The Philosophy of Forth" in [5] argues
	much in favor of it, and there's also [6] for a more recent
	perspective.

[5] http://forth.com/wp-content/uploads/2018/11/thinking-forth-color.pdf
[6] http://spectrum.ieee.org/lean-software-development

	Ultimately, though, the question is: what are you trying to
	achieve, and for /whom/?

	HTH.

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


Thread

Re: "A Forth OS In 46 Bytes" Paul Rubin <no.email@nospam.invalid> - 2025-06-10 14:09 -0700
  non-mainstream web (browsers) Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-08-09 14:05 +0000
    Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-09 19:53 +0000
      Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-11 08:53 -0700
        Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-11 21:51 +0000
          Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-11 14:57 -0700
            Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-13 18:43 +0000
              Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-13 12:14 -0700
                Re: non-mainstream web (browsers) Paul Rubin <no.email@nospam.invalid> - 2025-08-13 12:48 -0700
                standards Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-08-24 09:30 +0000
                Re: standards sjack@dontemail.me (sjack) - 2025-08-24 16:05 +0000
                Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-15 15:14 +0000
                Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-15 09:03 -0700
                Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-16 23:36 +0000
                Re: non-mainstream web (browsers) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-17 07:09 +0000
                Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-18 10:45 -0700
                Re: non-mainstream web (browsers) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-18 23:25 +0000
                Re: non-mainstream web (browsers) John Ames <commodorejohn@gmail.com> - 2025-08-19 08:14 -0700
                Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-19 21:58 +0000
                Re: non-mainstream web (browsers) Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 00:39 +0000
                Re: non-mainstream web (browsers) Doc O'Leary ,   <droleary.usenet@2023.impossiblystupid.com> - 2025-08-25 03:24 +0000
                Re: non-mainstream web (browsers) "B. Pym" <Nobody447095@here-nor-there.org> - 2025-08-24 14:42 +0000
                Re: non-mainstream web (browsers) albert@spenarnc.xs4all.nl - 2025-08-24 19:41 +0200

csiph-web