If Something Works, It May Not Be Fine

Vanza Setia,

Estimated reading time: 1 minute

If something works, it is fine. This is a fallacy. Just because something works does not mean it is fine.

In web development, using CSS ID selectors (#) will not break a stylesheet. The styles still apply. The stylesheet works, but it is not fine due to high specificity.

The statement "if something works, it is fine" is a logical fallacy. You might think that if a man smiles, he is happy. But that is false because he might hide his true feelings. In programming, just because your code works does not mean it is correct. Valid syntax does not mean valid logic. Thus, this logical fallacy makes poor judgment.

Another version of this fallacy is "if something works, it is right." This is also false. Just because something works does not mean it is right. For instance, violating user privacy without their knowledge helps Facebook succeed, but it is not the right thing to do. It is not ethical. If you judge something as right just because it works, you oversimplify and overestimate its value.

Do not be fooled by oversimplified wisdom.

Share your thoughts

Topic(s).

Thank you for reading this If Something Works, It May Not Be Fine. You can subscribe to all my articles with the Articles RSS. Add this website as a preferred source on Google. If you have a positive or negative comment, please send me an email or contact me through one of my social media accounts.

Share with your network

Copy this link and send it to great people only.

https://vanzasetia.xyz/blog/work-fine/

For you

  • Web Developers Should Stand against Thoughtlessness

    In the past, developing responsive websites was a nightmare. Now you can develop websites without writing any code at all. But one line of code can destroy your website's responsiveness. You shall not make such a mistake.

    By Vanza Setia

    css

  • Advanced Web Design in 2003

    This book gives me a glimpse of how a person built an advanced web design in the year around 2003. In a nutshell, it was complicated.

    By Vanza Setia

    history