[Jprogramming] Tacit vs. Explicit
Nick Simicich
simicich at gmail.com
Fri Oct 7 22:02:05 HKT 2011
It is clear that different people remember differently. I have trouble
remembering everything that is in J, I could never learn Morse code because
when I remembered more than about 17 letters I would start forgetting the
first ones I remembered. I spent my entire programming career with a manual
open in front of me, it was 10 years before I could remember how to use a C
trigram, say, without looking it up.
I could program, pretty well, but I could never remember names of clib
stuff, for example, or the order of arguments for more than about 5 of the
big hitter functions. I still have to look up printf, say, for anything
more complicated than %d or %s.
These mnemonic words that are defined by default in J - they are harder to
remember than something like bignumber (10e9|@^) bignumber as a way to
take a number to a power and to only keep the residual part.
I'm more likely to remember, Hmmm..I need to make sure this is not
interpreted as a constant - something about the double quote but not the
part where it decodes strings, I'll look it up in voc.
So far, J has been the hardest language I've ever tried to use, and, while
sometimes it performs really well, I am having a lot of problems with early
pruning. There may just be too much to remember for me.
There are a lot of "search this space for that" sorts of problems in the
eulerproject.org challenges.
On Wed, Oct 5, 2011 at 8:58 AM, Raul Miller <rauldmiller at gmail.com> wrote:
> On Wed, Oct 5, 2011 at 8:19 AM, Viktor Cerovski
> <viktor.cerovski at gmail.com> wrote:
> > Henry's solution to this is to replace (?@30) with (?@(30"_)).
>
> Note also that J defines the word bind to accomplish this:
> ? bind 30
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Of course I can ride in the carpool lane, officer. Jesus is my constant
companion.
More information about the Programming
mailing list