Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Validation

  1. #1
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default Validation

    I was browsing another forum today and there was a dicussion about validation etiquette, among other things. I'm certainly guilty of this and I wanted to get everyone's thoughts on it.

    So, when is it proper to validate someone's code? Jeff Croft, a sizeable name in XHTML/CSS, put it this way. Sometimes people post here asking for help with various aspects of their site, perhaps unrelated to their HTML at all. Just the other day I told someone that they should be using standards compliant techniques in a thread about a PHP-related problem. In the context of a web design/technology related forum such as Dynamic Drive, maybe it's ok.

    So what do you guys think? Is it rude to inform someone that they're using invalid code? To what extent is validation even required? Is validation, in your opinion, a sign of quality? After all, we all have our own preferred techniques and workflows and coding styles and validation guarantees very little in the end.

  2. #2
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    well i'm newb but i think that a validator comes useful when you use it to make progress and help others
    recognizing errors that you had before, not to be a jerk/self proclamed "god of code"

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I didn't mean that you would point out coding flaws in an uncouth manner. That wouldn't be right under any circumstance. The question is, if someone asks a question asks a non-HTML/CSS related question, how appropriate is it for us to point out validation flaws in their markup?

    The essential question is what does valid code reflect about a website and how pertinent is it to its success? Is it enough that the markup works? Or does the markup have to follow the standards to the letter?

    There really isn't any real answer to this, I suppose. Just something I was thinking about.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I don't like validation in theory-- just whining to someone that their code is invalid seems petty.

    However, if this lack of validation and errors on the page are tied together, then I think you have every right to tell them, and they should want you to, if you, as the visitor, are put off from viewing their page again.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    I believe it's not rude to inform someone that his codes are invalid, cause i've encountered a lot of times that most of the errors are from the errors shown the validator.

    This link had been giving tough inputs too:
    http://diveintomark.org/archives/200..._wont_help_you

    ...I don't see validation as a requirement, but then in this big world of web designing, it's good to set standards...and the world wide consortium stands to standardize the codes

    ...I'm not an avid fan of validation, but then, I see that in this vast changing field that we are in (web designing). Coding basing with the standards is a good way of sharpening your wits with what's instore for the next standard. May it 5.0 for HTML or 2.0 for XHTML.

    ...Anyway, just my 2cents worth
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  6. #6
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    while having invalid code, you have to test in each browser and fix each error without breaking the markup for other browsers.
    if you start out with valid code you can assume your web pages look nearly identical in most major web browsers.
    if someone gives me advice, trying to make my life easier in the long run, i would never call them rude.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If someone chooses to have entirely invalid code that works and causes me no problems, I don't see any reason to complain, and as I said, if you do, you're just being annoying.

    BUT if there ARE problems, then I think recommending valid code is quite reasonable. But only if there are problems.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    well.. if the code runs out of problems i guess it would be kind of rude to tell them they code is invalid.... personally i would be glad if someone tell me my code.. or even my english is wrong and help me fix it... that's a way to learn and update knowledge.. and transmit it

  9. #9
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    The sole purpose of valid code should be to not have to test in all browsers if everything is functioning well on your site. It's a means, not a goal. The rest in totally irrelevant.
    ---
    Arie M.

  10. The Following 2 Users Say Thank You to molendijk For This Useful Post:

    boogyman (05-09-2008),djr33 (05-09-2008)

  11. #10
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by molendijk View Post
    The sole purpose of valid code should be to not have to test in all browsers if everything is functioning well on your site. It's a means, not a goal. The rest in totally irrelevant.
    ---
    Arie M.
    unless the browser doesn't support the standards the code validators are based upon (cough cough IE), but yes very good observation

Bookmarks

Posting Permissions

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