Skip to main content

Posts

Showing posts from September, 2015

Are you really trying to live the way you wanted to live few years back?

We all know "Change is law of nature" and there are events/moments in life, which changes our way of living. Most of the time we go with flow and eventually that becomes our way to lead the life. Sometimes, when we look back, and think whatever we had done during that moment, we could have done that in much better way. But as the life cycle moves on, it may happen that we may fall in same situation again  and whatever we are  doing now, it might happen in future when we recall our memories and feel that, it could have been done in much better way earlier.          I wanted to share my thoughts because, in my perception, some or the other day we all will be nostalgic and  would be thinking of our past events, our relations, our  behavior  at work place, our relations with friends, our bonding with society. Question comes in our mind "Was it better earlier or it could have been much sweet and memorable?".Therefore...

User Input Mechanism in Java

Recently while writing some java program. I wanted to quickly run some test cases using runtime inputs from console. I am working on some of the legacy system which runs on java1.5 and recently has been upgraded to java1.6 version. For taking user input during run time, I have always used Scanner API. But recently came to know about Console class. Though it was included as part of Java1.6 release. But I never used it any time. Just wanted to share some information on the available API which is used for user input: - Scanner (Included in Java1.5) - BufferedReader (Included in Java1.1) - Console (Included in Java1.6) From developers point, I assume following factors could be considered during the selection of any of the above APIs: If your input size is more, or more number of inputs is going to be used in the program, it is advisable to use BufferedReader instead of Scanner. It will be difficult to observe the speed for fewer inputs. But for huge data (for millions of...

Building an Efficient and Effective Team

Some days back I met one of my friend, who was hunting for new opportunity.  He asked me some simple questions which I felt difficult to answer. For example: β€œIs your next job application depends on your current team size?”     "How the size of team affects the productivity of team and individual?” etc... I tried my best to explain my experiences to him and am hoping many of us must be having some inputs to share. In IT companies we meet people who are either working in small team or managing some big teams. There are some enthusiasts who find comfortable working as individual contributor. But have we ever thought of any specific team size. I am not aware of any standard size. But if we talk about any sports, we know the size of team is fixed and if the size varies, it is going to impact the end result of the game. Does the same apply in case of project teams? If we take some similar example we find that team with small number are doing well then compared to...