+ 3

How long has it ever taken you to fix a logical error?

11th May 2017, 1:29 AM
G P
G P - avatar
8 Answers
+ 12
At most, one full week. (Pointers with recursions and arrays...) But again, my exposure isn't wide enough to have dealt with enormous projects.
11th May 2017, 1:48 AM
Hatsy Rei
Hatsy Rei - avatar
+ 8
For me once, 3weeks, It was kinda a runtime error. I sought help from 4 people
11th May 2017, 2:40 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
I think I should post my code too, now that my CS module is technically over
12th May 2017, 2:32 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
It was about an efficient way to get a number from 4 sets such that they added up to 0
12th May 2017, 2:33 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
Depends.. from few minutes to few weeks...
11th May 2017, 2:21 AM
Calviղ
Calviղ - avatar
+ 3
I recently saw a logic error in my code, 2 days after thinking it was complete. Actually, it's just a logging problem that went unnoticed. And it was a school project that I had already given back. Just this little thing meant there was a line that was actually using 2... which causes problems. It was in my 421 game code (see my profile if you want to see it)
11th May 2017, 9:15 PM
Amaras A
Amaras A - avatar
+ 2
I always add a __iftest=True to my script, and print the middle result to debug if __iftest: print "what you need" when I finish, I set __iftest to False
11th May 2017, 10:53 AM
Damon RealMen
Damon RealMen - avatar
0
I've actually been working on a problem for a long time now where the error "unexpected end of input, expecting keyword 'end'" Not sure if it's REPL.it or my lack of knowledge
13th May 2017, 3:05 AM
Chris L.