Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: SeekAndFind
I remember the first language I learned was APL (A Programming Language).

https://en.wikipedia.org/wiki/APL_(programming_language)

I found it is a difficult as teaching a rattlesnake to fetch. Drove me crazy.

The BEAM needs an APL-y language. One like, one unpopular opinion is one… |  by Gordon Guthrie | Medium

7 posted on 09/21/2020 9:09:22 AM PDT by SkyPilot ("I am the way and the truth and the life. No one comes to the Father except through me." John 14:6)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: SkyPilot

Readability score = 0


34 posted on 09/21/2020 9:36:31 AM PDT by FreedomPoster (Islam delenda est)
[ Post Reply | Private Reply | To 7 | View Replies ]

To: SkyPilot
Interesting..... It’s been ages since I have seen any actual codes much less that language. I’m a FORTRAN fossil. LOL

Best I can tell, that is a jumbled mess that combines in a single line, functions that FORTRAN would separate into separate lines and subroutines. If this is correct, FORTRAN has an advantage to the original creator and follow on programmers in that a simple non-executing statement can be added to describe what in the hell the line, subroutine or variable is supposed to be doing.

Advantage to FORTRAN for simpler program creation and maintenance.

Advantage to contemporary language for machine language level efficiency.

I used for awhile, the jumbled line format such as your example that you may have crossed paths with in primitive fossils. Hehehe... They were not uncommon in scientific and engineering model manual inputs that used compiled FORTRAN for the number crunching. It’s hard for me to describe, but it tends to lead the mind to a different and immersive thought pattern so to speak. Think of it as speaking in calculus mathematics instead of English. Weird.

54 posted on 09/21/2020 10:27:15 AM PDT by Hootowl99
[ Post Reply | Private Reply | To 7 | View Replies ]

To: SkyPilot
Your APL post reminded me of an oldie...

The RSA Algorithm implemented in 3 lines of perl.

#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

That is an incomprehensible mess. Looks like something my modem would spit out back in the day when I lost a connection,

92 posted on 09/21/2020 10:22:34 PM PDT by zeugma (Stop deluding yourself that America is still a free country.)
[ Post Reply | Private Reply | To 7 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson