Re: Re: Alignment Nazi?

Randy MacDonald <ramacd-Ec9gIrrHw6csA/[email protected]>
Newsgroups gmane.comp.programming.language-of-the-year
Message-ID <[email protected]>
Hello Avdi;

Given that lines of assembly are typically " op arg1' or 'op arg1,arg2' 
thus making alignment trivial, I am curious as to where the irony lies.

Being an APL (or J if I'm in the mood) programmer, I find that if the 
issue of alignment comes up in a given source, it is a smell of 
insufficient refactoring, much like the OO tyrant (I'm leery of using 
the N-word, too specific a reference.) said.

   a =: foo x
   b =: goo x

looks better to me as

   'a b' =: (foo;goo) x

Avdi Grimm wrote:
> On Mon, Apr 28, 2008 at 3:21 AM, Jeroen Wenting
> <[email protected]> wrote:
>   
>>  Blame my ASM and Cobol origins, maybe.
>>     
>
> Ironic... assembly is the language where I've seen the most rigorous
> code alignment habitually practiced.
>
>   

-- 
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.