Code Smell 06 — Too Clever Programmer

Code Smell 06 — Too Clever Programmer

Code difficult to read. Tricky with names without semantic. Sometimes using language’s accidental complexity. Code Smell 06 — Too Clever Programmer. Code difficult to read. Tricky with names without semantic. Sometimes using language's accidental complexity.


  • Readability
  • Maintainability
  • Code Quality
  • Premature Optimization



  • Optimized loops


  • Code that must be optimized for low level operations.

Sample Code


function primeFactors(n){
      var f = [],  i = 0, d = 2;  

      for (i = 0; n >= 2; ) {
         if(n % d == 0){
           n /= d;
      return f;
function primeFactors(numberToFactor){
      var factors = [], 
          divisor = 2,
          remainder = numberToFactor;

        if(remainder % divisor === 0){
           remainder = remainder/ divisor;
      return factors;


Automatic detection is possible in some languages related to complexity, bad names, post increment variables.

programming clean-code complexity software-development code-smells

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

5 Core Criteria for Selecting Software Development Company -

Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.

Best Software Development Company in Melbourne

Software Development Company in Sydney, Melbourne. Vrinsoft is Australia based Software Development Agency provides software solutions to increase your sales, reduce costs, and automates business processes with cost-effective, high-quality software development services.

How to Hire an Outsourcing Software Development Company

While outsourcing **[custom software development services]( "custom software development services")** for all your needs, you can add ample interests to the business by giving access to skilled expertise resulting in the...

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…