Best programming practice
Today, I was going through the code of someone and found it difficult for myself to read it. And the reason behind that was too many If's and too many switch cases. Each method was written with more then 30 line of code. I wasn't sure that why he has choose Object Oriented Programming when he had to do that. Every developer who is willing to improve his programming skills he must need to keep one rule in his mind before writing code: Someone will read your code someday I think few just leave their code without method level or class level comments; so that no one get to know that who wrote that code. But, those stupids forget that subversion do this too. Anyway few of the things I think should be simple in code: Class level comments Method level comments Method should be well-commented Atomic NO to Conditional Programming I am not going to debate on comments because you can get this information from a lot of blogs. So, I will start this blog from the 4th Poi...