+ 11
What do you feel when you build a program and at alerts error andâ you failed to find mistakes in coding.????
I got a error in my program I couldn't find mistakesâ.??? suggest me with your experience how do I find mistakes.
9 Answers
+ 12
i'll break into smaller block of code and observe it or simply find more information at google
+ 11
In reference to @Tiago's answer and also my own experience:
Get some rest. It is very crucial to not focus on the errors continuously for too long, as it will wear you off mentally as well as physically.
+ 10
your suggestions are like gold for me I hope I'll get something here
+ 4
The fist thing I feel is frustration, because when this happens, I was coding with a kind of hurry and feeling over confident and... "why this doesn't work? Maybe there is an issue with this IDE! I don't wanna programming anymore, everything is playing against me! I Give Up!"
The best thing to do is: take a time, give you some rest, sometimes the solution will come up this way, or if don't, after you are less emotional, review your code again, and if so, the problem persists, you can ask some help. For my experience, sometimes is a silly mistake or... there is a bug with the IDE that you just discovered...
+ 4
What do I feel? I feel like it's coffee time âïž
+ 3
If you do not use good IDE - install it. Online IDEs have only basic functionality, you should avoid use them in complex projects. Then learn to use debugger, that you can find in any modern IDE. It can run you code step by step, show values of different variables in process and provide you many other useful information. Also learn about unit testing - it is popular conception of building your code so it can automatically detect bugs in itself.
+ 1
Part of being a good programmer is taking those emotions and ignoring them and not giving up on the problem.
+ 1
I make like a System.out.println like to search or a printStackTrace, in the blocks of code that I now is not clear how it is working or I just try yo read the code, yo know if it is clear and makes sense
+ 1
I feel like breaking my gadget and then killing myself. đđ