4 ms·
- Keep trying to fix it. Keep going. - Go through, line by line, testing your assumptions about what the code should do. - Re-read all the documentation about
by subsubsub 9y ago
- Keep trying to fix it. Keep going.
- Go through, line by line, testing your assumptions about what the code should do.
- Re-read all the documentation about any libraries you're using, do you really understand what that function is doing?
- Ask someone else to look at the code (if there is someone), often they can see obvious errors that you're brain is now bypassing.
- ge96 9y ago>Ask someone else to look at the code... Yeah this, sad as it may be getting external help or another perspective is a possible solution. I thought I had to figure out this recursion and someone's like "You don't need recursion at all..." Oh... Stack Overflow (have a lot of banned accounts), Reddit... sucks making an ass of myself but I get over the block