Re: Parsing timestamps?

Liste des GroupesRevenir à cl forth 
Sujet : Re: Parsing timestamps?
De : the.beez.speaks (at) *nospam* gmail.com (Hans Bezemer)
Groupes : comp.lang.forth
Date : 10. Jun 2025, 14:12:52
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$29ba80cb$1d55b5d8@ae59ee70d8994716>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla Thunderbird
On 10-06-2025 11:52, LIT wrote:
First, a stack has been invented to be used as well.
 ..which doesn't deny use of variables where it's useful.
..which doesn't deny use of a stack where it's useful.

You're sorry that you 'have' (IYO) to use the stack
not quite senseful way? They force you to do so?
Poor you.
You don't fart (loudly) in the middle of a wedding.

Contact me with your "recommendation" again when you
become appointed of some kind of 'authority' who'll
decide, who should use what. Until then - I'll use
whatever language I'll decide to use at the moment.
That in itself would be a logical fallacy ("call to authority"). That you're serious considering this is committing this very logical fallacy. Given that you seem to be collecting logical fallacies, that's not much of a surprise.
You have to start learning that someone not agreeing with you leaves you two options: 1. Simply ignoring it, or: 2. Debating the issue in a civilized manner.
I'm not saying you can't hammer a screw into the wall, I'm just saying it's not the best way to do it. The language was not designed for that. There are plenty of sources concerning the design objectives and suggested usage of the language. I'm particularly fond of "Thinking Forth". You want some quotes from that volume?

Yes, indeed - these CPUs have a stack, and what you've
presented is pointless stack jugglery. We may 'burn CPU
cycles' to do something useful - or, following you (if
anyone would be keen, which I doubt) we could use that
stack for pointless moving the bytes "Back and Forth".
Of course there are ways to XOR your way around the stack without ever using a SWAP, e.g. "OVER XOR DUP >R XOR DUP R> XOR". I don't think it will enhance your Forth experience, though. Although it may make you feel a little better.

Oh, really? That speaks in favor of the most clean solution.
According to Locke, "clean" is a secondary quality - AKA, in the eye of the beholder. "Canonical", since it refers to a standard, is not.

Yes, software comes with many qualities - and one of them,
which you didn't mention (maybe you have no clue), is
clarity of the code. The code filled with strings of that
DUPs, SWAPs and ROTs not only works inefficiently, but also
rather quickly becomes unreadable. And then serves as
another example of 'typical write-only Forth code'.
"Clarity" must be codified, otherwise it is (like "clean") a secondary quality - and hence open to endless debate. Are strawberry milkshakes *really* tastier than chocolate ones?
It must be clear by now that stack instructions are *not* the cause of bad performance (next time, do your homework before posting stupid things). So, this straw does not provide any hold.
As I stated, I have no trouble to maintain multi-KLOC codebases in Forth for decades on end. That you obviously cannot, may illustrate your capabilities as a Forth programmer, though. There is no shame in that. We all had to start there. The best antidote though, is to learn. Even winning a debate doesn't improve your programming skills a shred.
Hans Bezemer

Date Sujet#  Auteur
6 Oct 24 * Parsing timestamps?77dxf
6 Oct 24 +* Re: Parsing timestamps?40mhx
6 Oct 24 i+* Re: Parsing timestamps?3dxf
6 Oct 24 ii`* Re: Parsing timestamps?2dxf
7 Oct 24 ii `- Re: Parsing timestamps?1dxf
7 Jun13:38 i`* Re: Parsing timestamps?36B. Pym
7 Jun15:36 i +* Re: Parsing timestamps?21dxf
7 Jun18:07 i i`* Re: Parsing timestamps?20LIT
8 Jun03:38 i i `* Re: Parsing timestamps?19dxf
9 Jun14:21 i i  `* Re: Parsing timestamps?18Hans Bezemer
9 Jun14:34 i i   `* Re: Parsing timestamps?17LIT
9 Jun20:31 i i    `* Re: Parsing timestamps?16Hans Bezemer
9 Jun21:00 i i     `* Re: Parsing timestamps?15LIT
10 Jun03:31 i i      +* Re: Parsing timestamps?4dxf
10 Jun08:32 i i      i+* Re: Parsing timestamps?2mhx
10 Jun09:30 i i      ii`- Re: Parsing timestamps?1dxf
10 Jun11:10 i i      i`- Re: Parsing timestamps?1LIT
10 Jun10:52 i i      +* Re: Parsing timestamps?2LIT
10 Jun14:12 i i      i`- Re: Parsing timestamps?1Hans Bezemer
10 Jun12:08 i i      +* Re: Parsing timestamps?2LIT
10 Jun13:56 i i      i`- Re: Parsing timestamps?1LIT
10 Jun13:07 i i      +* Re: Parsing timestamps?2Stephen Pelc
10 Jun15:06 i i      i`- Re: Parsing timestamps?1Anton Ertl
10 Jun13:48 i i      +* Re: Parsing timestamps?3LIT
10 Jun21:56 i i      i`* Re: Parsing timestamps?2LIT
11 Jun10:18 i i      i `- Re: Parsing timestamps?1Hans Bezemer
10 Jun15:56 i i      `- Re: Parsing timestamps?1Hans Bezemer
9 Jun13:34 i +- Re: Parsing timestamps?1B. Pym
10 Jun10:18 i `* Re: Parsing timestamps?13B. Pym
10 Jun11:32 i  +* Re: Parsing timestamps?11dxf
10 Jun11:43 i  i`* Re: Parsing timestamps?10LIT
10 Jun15:58 i  i `* Re: Parsing timestamps?9dxf
10 Jun16:39 i  i  +- Re: Parsing timestamps?1LIT
10 Jun18:34 i  i  `* Re: Parsing timestamps?7LIT
10 Jun18:39 i  i   +- Re: Parsing timestamps?1LIT
11 Jun02:49 i  i   +* Re: Parsing timestamps?4dxf
11 Jun10:04 i  i   i+* Re: Parsing timestamps?2LIT
11 Jun11:49 i  i   ii`- Re: Parsing timestamps?1dxf
11 Jun10:58 i  i   i`- Re: Parsing timestamps?1LIT
11 Jun10:41 i  i   `- Re: Parsing timestamps?1Hans Bezemer
11 Jun10:25 i  `- Re: Parsing timestamps?1B. Pym
6 Oct 24 +* Re: Parsing timestamps?5Ruvim
6 Oct 24 i`* Re: Parsing timestamps?4dxf
6 Oct 24 i `* Re: Parsing timestamps?3Ruvim
6 Oct 24 i  +- Re: Parsing timestamps?1Ruvim
6 Oct 24 i  `- Re: Parsing timestamps?1Ruvim
6 Oct 24 +* Re: Parsing timestamps?6FFmike
6 Oct 24 i`* Re: Parsing timestamps?5FFmike
7 Oct 24 i `* Re: Parsing timestamps?4dxf
7 Oct 24 i  `* Re: Parsing timestamps?3FFmike
7 Oct 24 i   `* Re: Parsing timestamps?2dxf
7 Oct 24 i    `- Re: Parsing timestamps?1FFmike
6 Oct 24 +* Re: Parsing timestamps?2Anthony Howe
7 Oct 24 i`- Re: Parsing timestamps?1dxf
7 Oct 24 +* Re: Parsing timestamps?9albert
7 Oct 24 i`* Re: Parsing timestamps?8dxf
7 Oct 24 i `* Re: Parsing timestamps?7sjack
8 Oct 24 i  `* Re: Parsing timestamps?6dxf
8 Oct 24 i   +* Re: Parsing timestamps?3Ahmed
8 Oct 24 i   i+- Re: Parsing timestamps?1dxf
8 Oct 24 i   i`- Re: Parsing timestamps?1sjack
8 Oct 24 i   `* Re: Parsing timestamps?2sjack
9 Oct 24 i    `- Re: Parsing timestamps?1dxf
8 Oct 24 +* Re: Parsing timestamps?3albert
8 Oct 24 i`* Re: Parsing timestamps?2dxf
8 Oct 24 i `- Re: Parsing timestamps?1Ahmed
9 Oct 24 +* Re: Parsing timestamps?4alaa
10 Oct 24 i+* Re: Parsing timestamps?2dxf
10 Oct 24 ii`- Re: Parsing timestamps?1alaa
16 Oct 24 i`- Re: Parsing timestamps?1Hans Bezemer
18 Oct 24 `* Re: Parsing timestamps?7Gerry Jackson
19 Oct 24  `* Re: Parsing timestamps?6dxf
28 Oct 24   `* Re: Parsing timestamps?5Hans Bezemer
29 Oct 24    `* Re: Parsing timestamps?4dxf
29 Oct 24     `* Re: Parsing timestamps?3Hans Bezemer
30 Oct 24      `* Re: Parsing timestamps?2dxf
31 Oct 24       `- Re: Parsing timestamps?1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal