[Jprogramming] Tacit vs. Explicit Paradigm and its Long-Term Impact
Raul Miller
rauldmiller at gmail.com
Wed Sep 28 03:48:28 HKT 2011
On Tue, Sep 27, 2011 at 3:25 PM, Devon McCormick > On the related
issue of tacit versus explicit, I, too find that long, tacit
> expressions are hard to read though I'm slowly improving my ability to do
> so. Compare this simple explicit version of a verb
>
> quoteIfSp=: 3 : 0
> ifsp=. '"'#~' ' e. y
> flnm=. ifsp,(y-.'"'),ifsp
> )
>
> (where the final assignment is purely documentary) to its tacit equivalent
>
> (] ([,[,~ '"' -.~ ])~ '"' #~ ' ' e. ])
>
> Perhaps a compromise would be useful:
>
> quoteIfSp=: ] ([,[,~ '"' -.~ ])~ '"' #~ ' '&e. NB.* quoteIfSp: surround
> name with '"'s if embedded spaces (stupid MS!).
Or, perhaps:
quoteIfSp=: '"' ([,],[)^:(' 'e.]) -.&'"'
--
Raul
More information about the Programming
mailing list