I believe, I program good, at least my code produces results…
But I feel I have drawback… I hardly follow any naming conventions… neither for variables.. nor for methods… nor for classes… nor for tables, columns, SPs… Further to this, I hardly comment anything while programming…
I always think that, Let me first see the results and then I will come and correct the var names and other things later… (Thanks to visual studio’s reflection here)… But the later does not come…
So, I need tips, to force myself to adopt to the practice of following naming conventions, and commenting…
Edit : I totally understand the ill effects of my practice, and I also know, that it is bad… My question is how do I force myself to follow the discipline…
Are you able to ask others for code reviews? Or even try pair programming? Both of those can really help you to do things you know you really should do.
Also, depending on your language/platform, there may well be lint-like tools you can run to check your code’s health.