+ 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.

7th May 2017, 2:33 AM
Aijaz Ahmed
Aijaz Ahmed - avatar
9 Respostas
+ 12
i'll break into smaller block of code and observe it or simply find more information at google
7th May 2017, 6:18 AM
Agus Mei
Agus Mei - avatar
+ 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.
7th May 2017, 3:18 AM
Hatsy Rei
Hatsy Rei - avatar
+ 10
your suggestions are like gold for me I hope I'll get something here
7th May 2017, 2:56 AM
Aijaz Ahmed
Aijaz Ahmed - avatar
+ 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...
7th May 2017, 2:42 AM
Tiago Soares
Tiago Soares - avatar
+ 4
What do I feel? I feel like it's coffee time ☕
7th May 2017, 6:13 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 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.
7th May 2017, 2:52 AM
Jeth
Jeth - avatar
+ 1
Part of being a good programmer is taking those emotions and ignoring them and not giving up on the problem.
7th May 2017, 10:38 AM
Mikal S
Mikal S - avatar
+ 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
7th May 2017, 2:13 PM
Sebastian
+ 1
I feel like breaking my gadget and then killing myself. 😂😂
8th May 2017, 6:46 AM
Jeniffer Ann
Jeniffer Ann - avatar