Friday, November 06, 2020
  COBOL as icon

The Github/Room 101 mindset is the deep terminal disease of recent times. It's a major instance of the psychopathic need to obliterate the universe.

This part of the urge is always present in psychopaths, and it was accurately recognized in earlier times.

Quora's programming language section has some discussions about COBOL that illustrate the distinction beautifully. When I hit Quora just now to find examples, the very first item turned out to be a perfect Self-Explanatory Sentence.....

Question:

Are there any old programming languages that are still in use?

Answer:

FORTRAN (63 years), COBOL (60 years), BASIC (56 years), C (48 years), SQL (42 years), C++ (35 years), Objective-C (32 years), Python (29 years), and Java (25 years) are all fairly old and still used (though COBOL is pretty specialized legacy code today). The first three are older than I am.
COBOL is specialized legacy code / Older than I am.

Self-explanatory sentence.

This is the Github view. Old shit is specialized legacy shit and you shouldn't be using it, and we will PROHIBIT YOU FROM USING IT. Any attempt to use tools or thinking from the filthy Neanderthal knuckle-dragging previous femtosecond will halt your life and crash your computer.

In the Github world, the PURPOSE of programming is to spend 100% of your mental time relearning, and 100% of your computer's CPU time processing updates. Windows 10 implements this purpose perfectly.

What is the original intended purpose of a TOOL like computers? The real purpose of any TOOL is to help you GET WORK DONE.

Fortunately the GET WORK DONE side is also well represented in Quora, by older WORKERS and even some younger WORKERS in places like Brazil.

Reality: In the world of computers that DO WORK, most of the WORK is done by COBOL. The part of the computing world that is truly needed, the part that would completely collapse the whole economy if it failed, is COBOL.

To a first approximation, computing = COBOL.

And there's a simple reason, which I didn't understand until I started reading these discussions. I'm older than COBOL but I didn't start programming until 1983, and I didn't start in the world of commerce. I started in audio processing, first with 8086 and PDP-11 assembly, then Basic, then C.

Simple reason:

COBOL handles money naturally and intrinsically.

The newer languages, including FORTRAN, all start from a theoretical math view of numbers where floating-point arithmetic is the base.

Digital computers are counters and sorters, not slide rules or theoretical equations on blackboards. Our stupid official history starts with Babbage, who was actually a dead end. Nothing came from Ada except some modern rebuilt legends. The real history of computing starts with Hollerith's counter and sorter, and the real history of programming starts with IBM mainframes counting and sorting money, programmed first in machine codes then soon in COBOL. IBM is uncool, so we can't mention it in our official histories.

Money doesn't use floating point. Money is naturally columnar. I've discussed this in the context of ancient bookkeeping:

= = = = = START REPRINT:

A ledger from the store that was outfitting fur traders in the Louisiana Territory around 1812. It's in French, with some plain English. Deeply fascinating to an old bookkeeper. I'm sure real historians have answered all these questions, but I'm having fun trying to solve them.

Title on first page:

La Compagny des Fourures du Missoury dans son Avanture.

Here's the top few lines of an account for trader Brice Arnold, showing the ledger structure clearly.



The debit column (Doit) is equipment sold to the fur traders, the credit column (Avoir) is furs bought from the traders. Note the Avoir column is closed out with "Your bill given this day."

The money units are puzzling. The two columns are P and S. My first thought was Poids et Shillings, but it appears that Pesos were the dominant currency in the territory at that time. The S unit is 100ths of the P unit, not 8ths or 20ths. According to online sources, the peso would have been divided into 8 reales at this time, and centavos didn't start until 1863. No firm answer to this question. Was it just US dollars and cents, labeled P and S by tradition?

We have the $ sign on totals, which meant pesos before it meant dollars. One credible explanation of the symbol traces it to a habit of writing an abbreviation for Pesos as a big P with a little s as a diacritic on top. These clerks were precise with their pens, and their dollar sign always had a big belly and a little head. You can almost see a big P with a little s riding on it. They clearly weren't thinking of the whole symbol as an S with lines through it; their uppercase S is entirely different.

Note the marks after each number. Decimal points? Nope, ditto marks. The clerk meticulously repeated the ditto after each number in each column, indicating that all the left numbers were P and all the right numbers were S.

Columnar accounting belongs to the Roman era, not to the modern place-value era. Monetary units were mostly non-decimal, so the tradition of recording each unit in its own independent column made sense, and there was no reason for decimal points. Note that some of the S numbers are followed by fractions, which was still common in US pricing up till WW2 when inflation made fractional cents meaningless.

= = = = = END REPRINT.

Units are not floating point. Fractions are not floating point. Many fractions can't be represented uniquely and cleanly in floating point. A ledger with the proper set of columns corresponding to units can always represent the fractions that people actually use.

The human brain has separate processing systems for analog continua and countable units. We use both in business for different purposes.

The analog side judges the quality and status of different products with the help of senses and muscles. For products that are actually used, like the whiskey and gunpowder and furs in the example, we judge by using and working. We compare one whiskey with another in a totally analog way, leading to an analog decision. You prefer Jack Daniels, but you'll take Old Crow if Jack isn't around. There is no binary step anywhere.

The counting side works with units, which can be single coins or single banknotes or written columns in the ledger.

These units MUST BE DIGITAL. Paying or billing an analog amount is physically impossible and legally meaningless. Decimal currencies hide this fact by eliminating irrational fractions, but through history most currency systems included irrational fractions. In the LSD system, a bill for 5 pence would be 5/12 of 1/20 of a pound, expressed in floating as 0.02083333unending pounds. If we write the bill this way, there's no way to determine whether it was paid properly or not. But if we have a column for pence, we can bill or pay 5 pence and know precisely whether the debt is satisfied.

= = = = =

Later: I installed one of the COBOL compilers for Windows and started learning to use COBOL. This is fun! The more I see how COBOL works, the more I wish I'd tried it in college back in 1967. I'm a natural bookkeeper, not a natural theoretical mathematician. COBOL would have been instantly pleasing to my clerical genes. FORTRAN was always frustrating because I couldn't see the purpose of the examples.

Labels: , , , ,

 


<< Home

blogger hit counter
My Photo
Name:
Location: Spokane

The current icon shows Polistra using a Personal Equation Machine.

My graphics products:

Free stuff at ShareCG

And some leftovers here.

ARCHIVES
March 2005 / April 2005 / May 2005 / June 2005 / July 2005 / August 2005 / September 2005 / October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / April 2008 / May 2008 / June 2008 / July 2008 / August 2008 / September 2008 / October 2008 / November 2008 / December 2008 / January 2009 / February 2009 / March 2009 / April 2009 / May 2009 / June 2009 / July 2009 / August 2009 / September 2009 / October 2009 / November 2009 / December 2009 / January 2010 / February 2010 / March 2010 / April 2010 / May 2010 / June 2010 / July 2010 / August 2010 / September 2010 / October 2010 / November 2010 / December 2010 / January 2011 / February 2011 / March 2011 / April 2011 / May 2011 / June 2011 / July 2011 / August 2011 / September 2011 / October 2011 / November 2011 / December 2011 / January 2012 / February 2012 / March 2012 / April 2012 / May 2012 / June 2012 / July 2012 / August 2012 / September 2012 / October 2012 / November 2012 / December 2012 / January 2013 / February 2013 / March 2013 / April 2013 / May 2013 / June 2013 / July 2013 / August 2013 / September 2013 / October 2013 / November 2013 / December 2013 / January 2014 / February 2014 / March 2014 / April 2014 / May 2014 / June 2014 / July 2014 / August 2014 / September 2014 / October 2014 / November 2014 / December 2014 / January 2015 / February 2015 / March 2015 / April 2015 / May 2015 / June 2015 / July 2015 / August 2015 / September 2015 / October 2015 / November 2015 / December 2015 / January 2016 / February 2016 / March 2016 / April 2016 / May 2016 / June 2016 / July 2016 / August 2016 / September 2016 / October 2016 / November 2016 / December 2016 / January 2017 / February 2017 / March 2017 / April 2017 / May 2017 / June 2017 / July 2017 / August 2017 / September 2017 / October 2017 / November 2017 / December 2017 / January 2018 / February 2018 / March 2018 / April 2018 / May 2018 / June 2018 / July 2018 / August 2018 / September 2018 / October 2018 / November 2018 / December 2018 / January 2019 / February 2019 / March 2019 / April 2019 / May 2019 / June 2019 / July 2019 / August 2019 / September 2019 / October 2019 / November 2019 / December 2019 / January 2020 / February 2020 / March 2020 / April 2020 / May 2020 / June 2020 / July 2020 / August 2020 / September 2020 / October 2020 / November 2020 / December 2020 / January 2021 / February 2021 / March 2021 / April 2021 / May 2021 / June 2021 / July 2021 / August 2021 / September 2021 / October 2021 / November 2021 /


Major tags or subjects:

2000 = 1000
Carbon Cult
Carver
Constants and variables
Defensible Cases
Defensible Times
Defensible Spaces
Equipoise
Experiential education
From rights to duties
Grand Blueprint
Metrology
Natural law = Sharia law
Natural law = Soviet law
Shared Lie
Skill-estate
Trinity House
#Whole-of-society

Powered by Blogger