[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: The no goto religion
From: Arnold Krille <kde () arnoldarts ! de>
Date: 2007-07-30 12:08:08
Message-ID: 200707301408.13855.kde () arnoldarts ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Montag, 30. Juli 2007 schrieb James Richard Tyrer:
> You might want to read an assembler listing if you aren't familiar with
> how to write such a function in assembler. Remember, machine language
> code isn't structured -- it is full of 'goto's.
Yeah, I did spent six weeks trying to debug machine-code not written by me and
I didn't succeed because even the writer himself would need two or more days
(uninterrupted) to understand his writings. Rewriting the broken parts in C
(without any goto:) took me two days, adding the other asm-parts back in a
save way took another week.
Unfortunately there seem to be some hardware issues which came to the surface
by then...
While I know that hardware-assembler works with goto, I also know that goto in
C(++) is error prone. Therefor I wouldn't recommend it to beginners...
Arnold
--
visit http://www.arnoldarts.de/
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic