[HN Gopher] Random walk in 2 lines of J
       ___________________________________________________________________
        
       Random walk in 2 lines of J
        
       Author : max_
       Score  : 22 points
       Date   : 2022-10-15 05:30 UTC (17 hours ago)
        
 (HTM) web link (asindu.xyz)
 (TXT) w3m dump (asindu.xyz)
        
       | civilized wrote:
       | > One misconception is that languages like J are in the same
       | caliber as Brain F**k and other esoteric or golfing languages
       | which are mostly for recreational programming. Languages like J
       | however were designed to be a replacement to traditional maths
       | notation - an interface for thinking or a tool of thought as
       | their inventor Kenneth E. Iverson called them in his Turing Award
       | lecture.
       | 
       | Does it actually succeed though? The author aims to show how J
       | helps understand a random walk, but from where I stand, it just
       | looks like a regex or something. I don't see what the insight's
       | supposed to be.
        
       | klyrs wrote:
       | That is more lines of J than I'm accustomed to.
        
       | eimrine wrote:
       | I love J
        
         | kleene_op wrote:
         | I remember looking up how people solved the problems on project
         | Euler and there would always be a J answer for the first
         | problems taking less than a few dozens characters.
         | 
         | At the time my own answers in C would take dozens or even
         | hundred of lines. I didn't know J existed and thought people
         | posting those absurdly small solutions were just trolling or
         | running a scam.
         | 
         | Man was I left dumbfounded when I learned this thing actually
         | runs and produces the correct answers.
        
       ___________________________________________________________________
       (page generated 2022-10-15 23:00 UTC)