My tip would be: dip into the language each day - try to find something fun and interesting, of course, but a half hour a day over the course of a week will often do more for you than an intense 4 hour session.
(Those intense 4 hour sessions, or longer, can be fun, but I would let them happen rather than trying to force them.) Also... Ken Iverson was faced with a really difficult task, when writing the dictionary: how do you introduce ideas which are inter-related? Getting a person up to speed is tricky, since there's no really great starting point which does not benefit from ideas presented elsewhere. So... dictionary format - the reference documentation goes into some significant detail, but you'll have to do several iterations on everything, with some trial and error and mistakes, before you start seeing some of the important interconnections. (And then you'll sometimes be at a loss for how to explain some of these "incredibly obvious" ideas to other people... such is life... or math... or something...) (Also, there's the labs and plenty of non-dictionary documentation, some of which will be not quite what you're looking for.) Hopefully you already had an idea about this, and I am just reminding you. Thanks, -- Raul On Sun, Mar 13, 2016 at 11:21 AM, Adam Tornhill <a...@adamtornhill.com> wrote: > Hi all, > I finally decided to try to understand this fascinating language. So far I've > spent some evenings reading and experimenting with the language. J is fun. > Real fun. I also like how J forces me to re-consider how I view programming. > Of course, that also means I'm still at a complete beginner's stage, so I'd > like to ask for some feedback and suggestions on my first J code. I'm sure > there's a lot I can simplify in my code. > Here's the code I put together by digging around in the J Dictionary: > isAnagramOf=:(0:`((*/)@(=&((/:~@tolower)@(' ' & i.#])))))@.(=&(#@:(' ' & > i.#]))) > > Some examples: > 'Nag a Ram ' isAnagramOf 'Anagram'1 > 'ab' isAnagramOf 'aa'0 > All tips and hints on both the code and learning J in general would be much > welcome. > Thanks!/Adam-- Homepage: www.adamtornhill.com Twitter: @AdamTornhill > Your Code as a Crime Scene: > https://pragprog.com/book/atcrime/your-code-as-a-crime-sceneLisp for the Web: > https://leanpub.com/lispwebPatterns in C: https://leanpub.com/patternsinc > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm