Re: =, += -=, loop, etc

From: Percival (dragontamer5788_at_yahoo.com)
Date: 08/12/04


Date: 12 Aug 2004 21:35:00 GMT

Betov wrote:
> Seriously, there is no reason, for a Programming Source
> to be anything much different than any other human written
> Text. At this point of view, the Assembly Instruction is
> not a Sentence, and even less a Paragraph. It is, most
> often, a Member of Sentence, and this is where the
> Multi-Instructions Lines make sense. For example, there
> is no reason for writting:
>
>
>>mov edi D$Table
>>mov ecx D$TableSize
>>shr ecx 2
>>mov eax 0
>>rep stosd
>
>
> These four Instructions are _one_ sentence saying:
>
>
>>"Zeroing the Table".
>
>
> So, it is way better to save room and to say:
>
>
>>mov edi D$Table, eax 0, ecx D$TableSize | shr ecx 2 | rep stosd
>
>
> Also, the old fashion way, wanting you to put
> comment after the instructions should be 100%
> rejected. The comments should be on independant
> Lines, above the concerned Instructions. Any
> other way is utterly impossible to maintain, and,
> in 99% of cases, we do not need to be explained
> what an Instruction is doing. Reading it is enough.
> As opposed reading a flow of Instructions is not
> that often easy to understand at first read. So,
> what must be commented is not the Intructions level,
> but the "Instructions Sentences" Level.
>
>
> Betov.

Similarly, people make fun of me when i do in C/C++:
if(done) return 0; else return 1;

Cause it is completely different from the norm.

I personally find reading horizontal text much easier than reading
vertical text.

And these differences in opinion make me like that feature of RosAsm
where you have | to make a line longer.

It gives more room for style differences.

And if all else fails, there is no reason not to convert the source back
the way you like it with Too many newlines. But i won't push my minority
personal taste on to everyone else here. Just agreeing with Betov.

Percival.



Relevant Pages

  • Re: Sys Tray items
    ... Guess I'm struck a little dumb, I can't seem to get it to work after reading the instructions. ... for some reason the Forum won't let me register because it keeps asking for Username/Password. ...
    (microsoft.public.windowsxp.newusers)
  • Re: College cooking
    ... >> rampant nowadays for some reason. ... >> to a new cook, which, if instructions were followed, would turn out fine. ... > Limbaugh, where The Everyman can use his common sense in brain surgery, ... and a hot plate. ...
    (rec.food.cooking)
  • Re: [opensuse] Getting rid of "Marching Penguins"
    ... However, whatever the reason, there should be a ... not instructions that don't work. ... know about that and that it applies to SUSE? ... for business use and they are quite serious about business. ...
    (SuSE)
  • Re: [opensuse] Getting rid of "Marching Penguins"
    ... However, whatever the reason, there should be a ... not instructions that don't work. ... One thing I've found with Linux is that someone will put in something ... for business use and they are quite serious about business. ...
    (SuSE)
  • Re: How does all this work?????
    ... >Although I have suggested to my namesake that he get a book on FrontPage, ... >it would be next to impossible to include step by step instructions for a word ... it only stands to reason that something that is difficult ... >>to use should DEFINITELY come with directions. ...
    (microsoft.public.frontpage.client)