Results 1 to 2 of 2

Thread: On coding style and practices

  1. #1
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default On coding style and practices

    Edit: Moved from:

    http://www.dynamicdrive.com/forums/s...918#post213918

    starting at post 8


    probably things even you would cringe at.
    are all moderators so patronzing.

    In jQuery this is dealt with by creating a single 'safe' object called 'data'
    This is obviously not safe by your definition.

    Code:
    Feel free to use your own images or modify the code as you require or use your own solution.
    you would be more construtive if you provided your own solution

    though as a moderator I have some leeway in interpreting it, and a voice in determining it. DD has final say.
    have you considered that this is because you programing standards are not always correct.
    Last edited by jscheuer1; 12-23-2009 at 06:14 PM. Reason: thread split
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I could be more patronizing, but I'm actually trying to be of help. It appears you have no stomach for constructive criticism. What I say about coding is correct. I even noted that the jQuery method is not really 'safe', and why. I hope you were able to understand how it is safer than what you are doing and that I have (also admittedly in my last post) done in the past.

    Right now I think I can do more by offering suggestions, rather than coding the thing myself. My first post in this thread was pretty much necessary to get the ball rolling, which you then took over from. Had you not, I probably would have offered my own solution. As it was though you offered one that did not deal with background images as requested by the poster. Compared to that, all of the rest of my sound advice is of relatively little importance.

    If you want to continue this discussion in a PM, feel free. For now I'm moving this part of it to the lounge and closing it. It's way off topic for this thread.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •