Sign in
Log inSign up

What's the worst coding practices you have seen(or done!)?

Tapas Adhikary
·Aug 7, 2019·

1 min read

No offence, each 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 those are. 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 variables named as, i, j, k, l etc... When I look back, damn 😬!
  • Logical Conditions: &&, ||, ! with if-else. I have made blunders in past where I wrote some if-else along with && and || that finally sounded very illogical and had to re-factor.

As Programmers, every day is a new day with new learning. I have learned too from my horrible programming practise mistakes. I am still learning!

Let us know yours. 😄

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct