Posts

Showing posts with the label dev

Elemental Skills required by Programmers

 Qualities required by the programmers  Memory Observation Critical Thinking KISS Principal Learn, Unlearn, Relearn Frugality I have only listed out the skills needed for problem solving, skills like team work, communication, .., etc are not discussed but equally important. Memory Memory plays an important role in increasing the productivity of development.  When we search internet it may seem like we doesn't spend much time. According to several reports employees spend up to 30 % time searching for information.  On avg I spend 5 to 30 mins searching for answers depending on the problem.  But it doesn't mean you should memorize everything. Try to memorize things you use often. Which will definitely save a lot of time. There is another problem with memorizing is it creates Einstellung . Which is a mental block or mind set which we cannot think past. Observation  Observation also plays an important role in programming. We have go through all the lines of cod...

The Art of Debbuging

The 4W Technique From my perspective that we can solve any bugs by asking these four questions W hen W hat W here W hy When? When a bug or issue arises is the first question. In which scenario or test case does the bug occurs. First, we have to identifying the scenario. Then, confirm the scenario by repeating same case several time or similar case several time. What? What is the desired output what is the program output? Simply what is your end goal? Where?  Where is the skewing occurs from the desired path.  Where the processing input gets modified to something not intended or remains unchanged when it should have been processed.  Or In case of error, Where is the exception or error occurs? In java which class -> function -> line does the error occurs? It can be identified from error stack trace. Why? At last the most crucial part, Why it occurs ?? Why whatever happens, happens? If you find out why it occurs you can most possible solve it. If there is an exception ...