Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2021
    Location
    Bangalore
    Posts
    759

    5 best practices for Clean Code

    What is clean code?

    Many developers still think that Clean code is all about writing as few lines as possible.
    But this is not entirely true.
    Clean code is all about making understandable code.

    Clean code is not only concise code, but more importantly, it is readable.
    A rule of thumb when writing code, is to write code as if comments didn’t exist.
    The code should be self-explanatory.

  2. #2
    Registered User
    Join Date
    Oct 2022
    Location
    California, USA
    Posts
    37
    Is there a universal definition of clean code? I do not know what it is.

    Clean code could mean code that looks pretty. Or it could be a reverse engineering and cloning technique that captures copyrighted and patented processes for reconstruction, as in What is Clean Room Design? - Definition from Techopedia.

    Or it could be an approach to software development as in:

    I agree that it is good to write code that is self-explanatory but that should not be an excuse to not write documentation somewhere somehow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.