When I started coding in Eclipse, I was not aware that by default Eclipse uses tabs for indentation and tabs can have varied with e.g. 1 tab can be equal to 2 spaces or 4 spaces or even 8 spaces. Sometimes, It's all up to you how you configure tabs in your code editor and other times just the mercy of the tool you don't know how to configure e.g. VI in UNIX. I only realize the problem when I found too many difference in a file while check-in into SVN. Apparently, other people was using different indentation (spaces) and that's why the file was showing so many differences when I reformatted them in Eclipse. This happens to many programmers, some pay attention, some didn't and go ahead with the check-in the code, only to revert it back later. There is no clear guideline upon which one is better and whether a programmer should use tabs or spaces, even the Clean Code doesn't help here.
Read more »
Showing posts with label programmers. Show all posts
Showing posts with label programmers. Show all posts
Thursday, 8 September 2016
Monday, 8 February 2016
5 Good Books to Learn Unit testing, JUnit and TDD in Java
Unit testing is very, very important thing to learn adapt. I would say this is the single most practice in my book which differentiates a good programmer with a professional programmer. It's one way you can see how disciplined a programmer is? It's also the best way to write clean code; a code which can stand the test of time, a code which is flexible enough to accommodate future changes and a code which you don't afraid while changing. Despite several efforts of promoting unit testing by programming community and emphasizing unit testing by many notable programmers, it's still one of the lacking practice.
Read more »
Labels:
books,
core java,
JUnit,
online resources,
programmers,
Testing
Monday, 11 January 2016
Top 20 Amazon and Google Programming Interview Questions
Hello, In this article I am going to sharing some frequently asked programming job interviews from technical giants and startups. If you are going for a programming job interview with Microsoft, Google or Amazon, you better be prepared for all kinds of questions. These companies are known to ask tough questions, tricky puzzles and lots of data structure and algorithm questions. Since it's hard to prepare all these in a short time, it makes sense to at least have a good idea of frequently asked programming questions in Microsoft, Google or Amazon. There are a lot of questions spread across the internet and if you are good in googling (not to mention, an important surviving skill in programming job), you can get tons of questions asked in these companies, or you can read Cracking the coding interview book, which contains 150+ programming questions and their solutions.
Read more »
Monday, 4 January 2016
5 Resolutions for Java Programmers - 2016
First of all wish you very happy new year guys. It's that time of year when we start afresh, make plans, set goals and make resolutions for the new year. Being a Java developer and author of a Java blog, I frequently receive a request from Java programmers from all over the world about how they can improve themselves? How they can become a better Java developer etc. In the past, I have shared my 10 tips to become a better programmer and every tip on that article still holds true, but given it's a new year. I have decided to jot down 5 new resolutions for Java programmers to improve themselves, enhance their knowledge on Java Programming and increase their value for future career growth. So without wasting anymore time, let's see what are 5 resolutions for Java Programmers in the new year, 2016.
Read more »
Subscribe to:
Posts (Atom)