> *Ric Sherlock* tikkanz at gmail.com <programming%40forums.jsoftware.com?Subject=Re%3A%20%5BJprogramming%5D%20%40%3A%20and%20capped%20fork&In-Reply-To=%3CCAOoUVu8HXyjSrSbD1m_Nvsxip6LkC54vjXD%3DJvbDj-f_e_eUVQ%40mail.gmail.com%3E> > *Sun Dec 2 20:58:35 UTC 2012 > > *The issue becomes - are we writing scripts/libraries to showcase J to beginners > or to provide performant utilities for users?
IMO, = if you want to push J =, there is only one answer to that question. The old hands will write the optimised stuff anyway, because they need it. > The tacit formulation of the same algorithm is twice as fast and 3 times leaner... > So if we were to include a version in a script which should it be? > Should we have two scripts, one for beginners & another for normal use? Absolutely, why not? I'd much rather a beginner sees your 'nice' cosrule, than your (or my) implicit one. I am certain a beginner would feel the same way too, ask any high school student. And a fairly serious (novice) user, would obviously rather use implicit for performance, but the simple version could help him get up to speed by himself. require 'trig_beginner' or 'trig_implicit'. No rocket science here. Obviously I'm only stating my opinion, but I think this would have applied to every single technical question I have asked so far on this forum! I do really enjoy the communities deep and stimulating answers, of course, but if I had got the basics pat by myself, I would be in a position to ask more interesting questions, rather than the boring stuff I usually come up with. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm