Re: Is Programming Obsolete?

Liste des GroupesRevenir à c misc 
Sujet : Re: Is Programming Obsolete?
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.misc
Date : 08. Apr 2024, 14:31:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uv0rjl$3gv9g$1@dont-email.me>
References : 1 2 3
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Sun, 7 Apr 2024 16:51:22 -0000 (UTC), Rich wrote:
 
AutoHotKey is the most absymal "programming" languge ...
 
That is inherent in the nature of the problem it is trying to solve:
automate an interface--the GUI--which was never designed for automatic
operation. No matter how you slice and dice it, that kind of thing
inherently turns out to be fiddly and fragile.

But that part wasn't the problem.  AutoHotKey included function calls
to do that, and once one found the function call to perform "step x"
that one wanted, it worked.

The absymal part was the actual AuthHotKey script language itself.  It
looked to have been created by ten different people, at ten different
points in time, all of which decided to "do something differnt" for the
patch they were adding at the time they were adding it.

Perl gets grief for having too many sigils ($ for scalars % for
key-value maps, etc).

But, imagine a Perl where for "moving a window") the function call was
(and the $, %, ^ and *'s were require below)

  move-window-to-x-y( $win, %handle, ^x, *y)

Meanwhile, the function call to resize a window was (and the sigis
below were required, but no commas were allowed):

  ResizeWin( @oldw #oldh &win !newwidth ?handle :newheight)

And, note how the "win" variable needs to be dereferenced as $win for
one of the calls, but &win for the other, and the window handle is
%handle for one and ?handle for the other.

This kind of "fun" inconsistency in AutoHotKey's scripting language
makes it an absolute <sarcasm>Joy</sarcasm> to work with.

The manipulating of a GUI was actually the easy part.  The abysmal part
was the script language inconsistencies.

Date Sujet#  Auteur
7 Apr 24 * Is Programming Obsolete?47Ben Collver
7 Apr 24 +- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 +* Re: Is Programming Obsolete?28Rich
7 Apr 24 i+* Re: Is Programming Obsolete?3Stefan Ram
7 Apr 24 ii+- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 ii`- Re: Is Programming Obsolete?1Stefan Ram
7 Apr 24 i+* Re: Is Programming Obsolete?4candycanearter07
8 Apr 24 ii`* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
8 Apr 24 ii `* Re: Is Programming Obsolete?2candycanearter07
8 Apr 24 ii  `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
8 Apr 24 i+* Re: Is Programming Obsolete?16Lawrence D'Oliveiro
8 Apr 24 ii+* Re: Is Programming Obsolete?9candycanearter07
8 Apr 24 iii`* Re: Is Programming Obsolete?8Lawrence D'Oliveiro
8 Apr 24 iii `* Re: Is Programming Obsolete?7candycanearter07
9 Apr 24 iii  `* Re: Is Programming Obsolete?6Lawrence D'Oliveiro
9 Apr 24 iii   `* Re: Is Programming Obsolete?5candycanearter07
10 Apr 24 iii    `* Re: Is Programming Obsolete?4Lawrence D'Oliveiro
10 Apr 24 iii     `* Re: Is Programming Obsolete?3candycanearter07
11 Apr 24 iii      `* Re: Is Programming Obsolete?2Lawrence D'Oliveiro
11 Apr 24 iii       `- Re: Is Programming Obsolete?1candycanearter07
8 Apr 24 ii+* Re: Is Programming Obsolete?4Rich
9 Apr 24 iii`* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
9 Apr 24 iii `* Re: Is Programming Obsolete?2Rich
9 Apr 24 iii  `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
11 Apr 24 ii`* Re: Is Programming Obsolete?2Scott Dorsey
12 Apr 24 ii `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
8 Apr 24 i`* Re: Is Programming Obsolete?4Ben Collver
8 Apr 24 i `* Re: Is Programming Obsolete?3Lawrence D'Oliveiro
8 Apr 24 i  `* Re: Is Programming Obsolete?2Ben Collver
9 Apr 24 i   `- Re: Is Programming Obsolete?1Lawrence D'Oliveiro
7 Apr 24 +* Re: Is Programming Obsolete?3Stefan Ram
7 Apr 24 i+- Re: Is Programming Obsolete?1Stefan Ram
8 Apr 24 i`- Re: Is Programming Obsolete?1Rich
7 Apr 24 +* Re: Is Programming Obsolete?2Lawrence D'Oliveiro
8 Apr 24 i`- Re: Is Programming Obsolete?1Computer Nerd Kev
12 May 24 `* Re: Is Programming Obsolete?12Scott Dorsey
12 May 24  +- Re: Is Programming Obsolete?1David LaRue
12 May 24  +* Re: Is Programming Obsolete?4D
12 May 24  i+* Re: Is Programming Obsolete?2Scott Dorsey
13 May 24  ii`- Re: Is Programming Obsolete?1D
13 May 24  i`- Re: Is Programming Obsolete?1Johanne Fairchild
13 May 24  +* Re: Is Programming Obsolete?5Bob Eager
13 May 24  i+* Re: Is Programming Obsolete?2Scott Dorsey
13 May 24  ii`- Re: Is Programming Obsolete?1Bob Eager
13 May 24  i`* Re: Is Programming Obsolete?2Anton Shepelev
14 May 24  i `- Re: Is Programming Obsolete?1candycanearter07
13 May 24  `- Re: Is Programming Obsolete?1Johanne Fairchild

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal