No Offence, each one of us must have either seen or (mostly) done/followed some Coding Practices that we are not so proud of 😆.
Let's be honest here and post what are those. It would be great to see those with some examples, if possible!
To start with me, so far most horrible coding practice I had in two places:
- Loops : I have written for loops that are nested to 4 levels with iterate variable named as, i, j, k, l etc.. When I look back, damm 😬!
- Logical Conditions:
if-else. I have really done blunders in past where I wrote some if-else along with && and || that finally sounded very illogical and had to re-factor.
As Programmers, everyday is a new day with a new learning. I have learned too from my horrible programming practice mistakes. Still learning!
Let us know yours. 😄