clean coding

Discussion in 'Programming' started by ruckxs, Oct 9, 2009.

  1. #1
    I am a graphic designer and i have my own PSD designs, i have been finding programmers to slice them into Word press blogs etc. I have heard the phrase "clean coding" used a lot. For example, there are some PSD slicing service websites that claim they have "clean coding" etc. Can someone inform me on the definition of "clean coding"?
     
    ruckxs, Oct 9, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It means that it is simple, easily readable (and formatted nicely) and it is valid (X)HTML with the standards defined
     
    JAY6390, Oct 9, 2009 IP
  3. Sapphiro

    Sapphiro Well-Known Member

    Messages:
    1,242
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    175
    #3
    Clean coding means no bit of unnecessary codings were part of the codes, and that they are coded the way it should be.

    eg. The professional way of coding the navigation links section is to use html listing then style it using CSS, instead of multiple div or span tags

    
    <ul id="navigation">
      <li><a href="#">Link 1</a></li>
      <li><a href="#">Link 2</a></li>
      <li><a href="#">Link 3</a></li>
      <li><a href="#">Link 4</a></li>
    </ul>
    
    Code (markup):
    and that's one part of it only, basically a good xhtml/css coder also uses "CSS reset", and a single external CSS stylesheet that's to be used for all webpages using the same CSS styles.. then there's 'CSS Sprite' etc.

    I'm a xhtml/css coder btw, up for hire anytime if you need my service. :)
     
    Sapphiro, Oct 10, 2009 IP
  4. leebari

    leebari Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Clean coding also requires correct hierarchal structure apart of valid xHTML with external CSS file. List (<li>) and headline (<h1>,<h2>...) elements have to indicate what elements are within others so search engine spiders would understand how your website content is organized.

    Regards
     
    leebari, Oct 13, 2009 IP
  5. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #5
    Clean coding is basically what it comes out and says... it's clean and easy to read, more organized. It isn't essential or even necessary really. As long as it won't need to be edited by different coders in the future. If it falls under XHTML and is somewhat organized it is fine in my book. Others think differently though.
     
    Pudge1, Oct 13, 2009 IP
  6. jainsumit

    jainsumit Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Clean Coding is Define as.. good Programming Structure for Make a Excellent and Error less Design of Website...
     
    jainsumit, Oct 14, 2009 IP
  7. ruckxs

    ruckxs Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thank you all for your answers!
     
    ruckxs, Oct 28, 2009 IP