TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: THE NATURAL PHILOSOPHER
date: 2020-09-01 09:58:00
subject: Re: Spectre / Meltdown

On 31/08/2020 17:57, Martin Gregorie wrote:

> COBOL wasn't actively evil (apart from the ALTER statement - and that had
> vanished by the mid-80s. It just far too verbose:
>
>    ADD A to B GIVING C ON SIZE ERROR PERFORM OVERFLOW-TRAP.
>
That's ~57 bytes .

> where the Java equivalent would be something like:
>
>    try {
>       c = a + b;
>    }
>    catch (ArithmeticException e) {
>       overflowTrap(e);
>    }
>
...and that is ~72....counting tabs and carriage returns..

Definitely java is more verbose.


> There's also a lot of typing involved because of the size ot variable
> names and the number of them you have to define:
>
In Java.




--
“when things get difficult you just have to lie”

― Jean Claud Jüncker

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.