Well that would depend on waht you mean by when I write my program. I always test my logic with examples before I code them, when I hit the keyboard, most of the work is already done. Basically I code in a sequence like most programmers.
1)Decide on what problem is
2)Write algorithms
3)Test algorithms
4)Code project
5)Test for syntax and logic errors, if present re-write
6)Document code
No one really expects you to get everything on the first try, just that you know enough to do the work on time.
2006-12-16 07:02:45
·
answer #1
·
answered by D 4
·
1⤊
0⤋
It depends on your practice. In the very beginning when I was a newbie, I sometimes had to rewrite the code for 2-3 times to make it work correctly, but now as my experience has grown up (only 1yr though), I never have to rewrite the code. It works just the first time itself.
Though, to be honest, if I try to do something new, like learning some new technology, it may not work right the first time.
It means it depends on the experience you have in that particular area.
2006-12-16 07:05:16
·
answer #2
·
answered by PHPCoder 2
·
0⤊
0⤋
Lots of rewriting and debugging is a common thing. Then again, sometimes you can get it right the first time.
2006-12-16 07:02:21
·
answer #3
·
answered by MarnenLK 6
·
0⤊
0⤋
Yes and No!!
What it takes to make it in one go:
1. A lot of prctice.
2. True dedication.
Where it comes from:
-- Only from the deepest passion, if you have a vision of doing something.
What makes it to take more than one go:
1. Problem complexity.
2. Logic immaturity.
3. Loss of concentration
4. Distraction.
Hope it helped
2006-12-16 08:05:01
·
answer #4
·
answered by A Friend of Yours 2
·
1⤊
0⤋
You should never start a project without a clear understanding of the steps involved and how you'll solve them (an algorithm). That said, few algorithms work right the first try; you almost always need to try again.
2006-12-16 07:08:59
·
answer #5
·
answered by Anonymous
·
0⤊
0⤋
Depends on what you mean by logic. It is uncommon that it winds up your whole algorithm doesn't work, but obviously your implementation commonly will have problems the first time, or they never would have came up with the term debugging. I can't say I've never realized that my algorithm was incorrect, but usually you would realize that when you went to implement it, not when you ran it.
2006-12-16 07:01:46
·
answer #6
·
answered by Anonymous
·
0⤊
0⤋
depends on what your program is doing....i have programmed things flawlessly...other i have had to rewrite....also deals with the complexity of the program.
2006-12-16 06:58:32
·
answer #7
·
answered by Jordan Z 4
·
0⤊
0⤋