Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Code density in APL

Name: Anonymous 2009-03-18 15:28

Its generally accepted that programmers write the same amount of lines in any language per year.
Why hadn't everyone switched to APL yet?

Name: Anonymous 2009-03-18 15:29

gb2reddit

Name: Anonymous 2009-03-18 15:30

Let's look at a typical novice's session with the mighty ed:

golem$ ed

?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?

---
Note the consistent user interface and error reportage.  Ed is
generous enough to flag errors, yet prudent enough not to overwhelm
the novice with verbosity.

Name: Anonymous 2009-03-18 15:42

>>1
Reason one: Code is written once, modified ten times, and read one hundred times. So brevity of expression is nice, but not the biggest concern.

Reason two: APL's density evaporates somewhat as you move away from mathematical applications. It sucks tremendously for writing user interfaces, which is where most of the effort goes in today's programs.

PS. The financial industry already tried switching to APL. Ask them how it worked.

Name: Anonymous 2009-03-18 15:55

>>4
Why hadn't everyone switched to Python then?

Name: Anonymous 2009-03-18 15:58

>>5
Because they're stupid.

Name: Anonymous 2009-03-18 16:00

>>5
Guido van Rossum?

Name: Anonymous 2009-03-18 16:09

>>1
Because nobody wants to buy special keyboards to try out a language that may or may not even be useful for them to know.

Because APL's descendents might as well be stealth languages for all the information freely available on them.

Because this argument does not make any impression on managers or programmers anyway. These people regularly do projects in Java, C, and C++, for all that it makes no sense in terms of programmer productivity to do so.

Name: Anonymous 2009-03-18 16:10

>>4
PS. The financial industry already tried switching to APL. Ask them how it worked.
Tell me more, please.

Name: Anonymous 2009-03-18 16:12

run length encoded brainfuck has higher code density.

Name: Anonymous 2009-03-18 16:21

>>10
brainfuck with any level of compression isn't equivalent to conventional languages.
 Its like reinventing the wheel with dirt and pieces of shit scrapped together.

Name: Anonymous 2009-03-18 16:35

>>11
Its like reinventing the wheel with dirt and pieces of shit scrapped together.
A bout of laughter spilled forth from my belly.

Name: Anonymous 2009-03-18 16:56

Its generally accepted that programmers write the same amount of lines in any language per year. citation needed

Name: Anonymous 2009-03-18 20:40

>>5
Google's working on it. Have patience.

Don't change these.
Name: Email:
Entire Thread Thread List