Nothing wrong with using explicit definitions to force reevaluation on each call. The wd callbacks are all explicit.
On Nov 27, 2017 11:00 AM, "Daniel Lyons" <[email protected]> wrote: > > > On Nov 27, 2017, at 10:50 AM, Andrew Dabrowski <[email protected]> > wrote: > > > > I didn't say it was a big problem, it's just a slight problem but one > that came up when I was trying to do something very simple. That's what > worries me: I can't write even simple programs without using what seem like > kludges and workarounds. No doubt after years of practice those would come > to seem natural to me and programming in J would be a snap, as has happened > to me to some extent with Perl. But Perl I was forced to use, J I have the > option of placing in the Museum of Brilliant but Useless Languages, next to > Haskell. > > > I’m sure after we master J, having to program without rank is going to > make all other programming languages seem like much bigger kludges. And I > think you’re taking this one thing rather more seriously than is strictly > necessary; even in languages that permit me, I almost never wind up with > nullary functions. I bet if you check, you’ll see they’re uncommon in your > code too. There’s usually something I want to calculate with… but then > again, I have written thousands of lines of Haskell that actually do useful > things. > > -- > Daniel Lyons > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
