Wednesday, August 19, 2015

Good Programming Practice Post 2

Hi All...!

I'm going to show you another "Good Programming Practice". It's better to get a knowledge about "Good Programming Practices" before you start your programming moves.

If you type "Curly Braces" to mark scope of a class, scope of a method or scope of a any type of block, you have to leave a "One Line" and the keep writing your code.

When you get to the line after the blank line you have to keep "Tab" or "Three Spaces" from "Left Margin" and start writing your code.

Following code is an example for these "Good Programming Practice" Tips,





By using these "Tab" or "Three Spaces" we can get simple idea about what is inside the class,method or block scope.



4 comments: