Post 9i4AVxtqCbfpca06D2 by wonderdon@mastodon.social
 (DIR) More posts by wonderdon@mastodon.social
 (DIR) Post #9i46455RUIShzEsL1U by codesections@fosstodon.org
       2019-04-22T12:06:52Z
       
       0 likes, 0 repeats
       
       Have any of you written code in a programming language?…wait, that came out wrong, let's try again:  Have any of you written code in A Programming Language (APL https://en.wikipedia.org/wiki/APL_(programming_language) )?It's super concise—for example, a program to strip all HTML tags from a string stored in the variable `tex` is{⍵ /⍨ ~{⍵∨≠\⍵}⍵∊'<>'} txtIt sounds both wonderful and awful and incredibly tempting to learn!But I'd love to hear from anyone who has tried it out (either back in its heyday or—better—recently)
       
 (DIR) Post #9i46OvX6CiGiR9kfVQ by goo@fosstodon.org
       2019-04-22T12:15:14Z
       
       0 likes, 0 repeats
       
       @codesections It's so concise it's often used as a code golfing language!
       
 (DIR) Post #9i47zPs8ypBGucYh28 by alexshendi@mastodon.technology
       2019-04-22T12:33:11Z
       
       0 likes, 0 repeats
       
       @codesections I have recently played a bit with GNU #apl under #OpenBSD. I am an absolute beginner and (for example) don't understand the snippet of code you posted. Sometimes I have the feeling that my brain is too small for APL. I have purchased a paper copy of "Mastering Dyalog APL" and am striving for improvement.Also I am not sure, which of the dialects GNU APL, K and J I should learn.Greetings,Alexander
       
 (DIR) Post #9i48LxXEVH7ZgbWjWy by codesections@fosstodon.org
       2019-04-22T12:37:16Z
       
       0 likes, 0 repeats
       
       @alexshendi > I am an absolute beginner and (for example) don't understand the snippet of code you posted.To be clear—I'm even less than an absolute beginner; I just started playing with #apl today (though I've heard about it for years).  The snippet was from the Wikipedia page.I'm trying out this tutorial right now: https://curtisautery.appspot.com/5776042744610816> Also I am not sure, which of the dialects GNU APL, K and J I should learn.I'm also not sure about that.  It sounds like you ruled out Dyalog APL?
       
 (DIR) Post #9i49XYwVrXb6qNRqwC by alexshendi@mastodon.technology
       2019-04-22T12:50:34Z
       
       0 likes, 0 repeats
       
       @codesections >>  Also I am not sure, which of the >> dialects GNU APL, K and J I >> should learn.> I'm also not sure about that. > It sounds like you ruled out Dyalog >  APL?I'm sure Dyalog APL is an awesome product, but AFAIK it doesn't run under OpenBSD.
       
 (DIR) Post #9i4ACJ8vViQriMgQz2 by arjenpdevries@mastodon.social
       2019-04-22T12:57:50Z
       
       0 likes, 0 repeats
       
       @codesections we used it to learn about processor design in college. We had a chart next to the keyboard, with key combis to "type" those weird symbols, in assignments like making a base thirteen adder and multiplier. I would not waste much time on it though!
       
 (DIR) Post #9i4AJFx7lq5HqZTavQ by penguin42@mastodon.org.uk
       2019-04-22T12:59:12Z
       
       0 likes, 0 repeats
       
       @codesections I haven't, but have you come across 'J' - which I believe is based on APL but in ASCII.
       
 (DIR) Post #9i4APqrxQbyK4zCk9g by codesections@fosstodon.org
       2019-04-22T13:00:25Z
       
       0 likes, 0 repeats
       
       @penguin42  > 'J' - which I believe is based on APL but in ASCII.so without 80% of the geeky fun, you mean? :D
       
 (DIR) Post #9i4AVxtqCbfpca06D2 by wonderdon@mastodon.social
       2019-04-22T13:01:27Z
       
       0 likes, 0 repeats
       
       @codesections Not #APL but I learn & write #J ( #Jlang)It's tacit way of writing code + the plethora of built-in math, array and various utilities make math very fun-.  Compared to APL it restricts itself to easily accesible ASCII so it's very easy to write code (no special character issue).At the very least it should be a fun learning experience. If you are still wondering get started now!Good Luck!
       
 (DIR) Post #9i4FlSCiJTNBiu27JQ by rain@niu.moe
       2019-04-22T14:00:18Z
       
       0 likes, 0 repeats
       
       @codesections ive used J a bit, I think it's super cool
       
 (DIR) Post #9i4I8AgJpLjpwlqCIa by neildarlow@fosstodon.org
       2019-04-22T14:26:49Z
       
       0 likes, 0 repeats
       
       @codesections Wasn't that the language designed by mathematicians for mathematicians? If so, it kinda shows it.
       
 (DIR) Post #9i4IW46luzsmVgbje4 by koenaro@fediverse.initialization.tech
       2019-04-22T14:31:01Z
       
       0 likes, 0 repeats
       
       @codesections ah yes I love Roswell scribbles
       
 (DIR) Post #9i4Is1u6nJ1u2p9r04 by penguin42@mastodon.org.uk
       2019-04-22T14:35:07Z
       
       0 likes, 0 repeats
       
       @codesections Well yes, although I think it might be still pretty concise.  And remember APL was written before Unicode, just think what you could do with a language designed around all the different unicode characters?
       
 (DIR) Post #9i4IyIqghsQkKrY7Au by codesections@fosstodon.org
       2019-04-22T14:36:16Z
       
       0 likes, 0 repeats
       
       @penguin42 > And remember APL was written before Unicode, just think what you could do with a language designed around all the different unicode characters?Emoji: The Programming Language