Posts

Showing posts with the label problem solving

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

Problem solving techniques

Thinking modes There are two modes of learning. Focused mode Diffused mode Focused mode  Occurs when you are focused or concentrated on a task at hand. Thinking in focused mode is constrained by several factors. Familiar pattern will block the things beyond the pattern.  If you see a pattern your brain automatically recognizes the pattern and try to solve the pattern using previous experience. Which is often helpful but when trying to solve something new or creative it will be a mental block. The more familiar a pattern is your mind can't think beyond that pattern. That's where diffused mode comes into play Diffused mode Occurs when performing menial tasks such as  taking a shower  going for a walk  jogging / running It occurs in relaxed state similar to sleep like state. In this mode there will be less metal blocks so your mind wanders freely without restriction. Thereby creating new unique connection which create fresh perspectives.  Many famous scientis...