Talk:Align columns: Difference between revisions

Content added Content deleted
(→‎poll: short or general?: All columns should share the same alignment.)
(→‎J solution: Here's my opinion as to which version should be kept.)
Line 106: Line 106:
(6 12 (] {~ (?.@$ #)) 'LCR') colAlign text NB. or for each word independently.
(6 12 (] {~ (?.@$ #)) 'LCR') colAlign text NB. or for each word independently.


Of course, we could include two solutions: lead with the short one, finish with the general one. But that might be overkill.
Of course, we could include two solutions: lead with the short one, finish with the general one. But that might be overkill.
--[[User:DanBron|DanBron]] 02:39, 3 December 2008 (UTC)


: It was only ever my intention to have all columns aligned the same way. I have added (another), note to that effect. --[[User:Paddy3118|Paddy3118]] 05:11, 3 December 2008 (UTC)
: It was only ever my intention to have all columns aligned the same way. I have added (another), note to that effect. --[[User:Paddy3118|Paddy3118]] 05:11, 3 December 2008 (UTC)

--[[User:DanBron|DanBron]] 02:39, 3 December 2008 (UTC)
: I very much like the new code you posted above, and am of the opinion that it should be posted as the sole J solution. Your one-liner is interesting, but what seems to me a better way to handle it would be to link to a Jwiki page where you post it. The version I wrote is best set aside. The desireable features of your new version are (1) emphasis on functional composition, (2) self-documenting qualities of component verbs, and (3) focus on standard programming techniques with constraint to the core primaries. --[[User:TBH|TBH]] 01:48, 4 December 2008 (UTC)


== Output Question ==
== Output Question ==