Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/07/00 06:10
Read: times


 
#3610 - RE: How to overcome LSS:
Hi Babar,

it seems many programmers learn programming only
by doing (how am I).
This result normally in many frustrations on starting
and a never ending changing of the programming style.

But in my opinion it need also an education
to invent not the wheel again and again.

It need to write a book to tell all my programing
experiences.
So only 2 things:


1.Think small !
At first you must divide your problem into small
steps. This was fully independend of the hardware
or programming language.
This can be done in your favorite way (as sheet, diagram or text)
Only, if you found, the step looks simple enough to write the code,
you can stop and divide the next task.
Yes it looks nice to start with:
main()
{

}
But its definitively the harder way.


2. Make rules !
Especially on assembler you have to many freedom.
So you must first make rules:
- memory using
- parameter passing
- naming conventions for variables and functions
- ...
In C the first 2 points are already done by the compiler.

More rules -> less errors and better readable code

On assembler you can break the rules everytime.
But break they only rarely (with big attention comments !),
otherwise change the rules.



Peter


List of 17 messages in thread
TopicAuthorDate
How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome OSS:            01/01/70 00:00      
RE: How to overcome OSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      
RE: How to overcome LSS:            01/01/70 00:00      

Back to Subject List