Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2005
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Why Do I Have a Fear of Using JavaScript?

    Greetings,

    Consider this post more of a therapy session. I have this anti-javascript attitude that I've been carrying around with me for awhile and I really don't know why.
    It's not that I don't understand javascript or don't think it's useful. Maybe my fear of it is based on other peoples opinions about it. As I write this, I'm recalling people I've encountered who have used phrases such as "evil javascript" or "eww, javascript" or "insecure javascript" when discussing web development.
    Or maybe I avoid using javascript because of accessibility issues, meaning that a user can disable javascript in their browser if they choose. In doing so, part of my application is now useless to that user.
    For whatever reasons I have been avoiding using javascript, I would like your thoughts on it. Do you avoid it too? If so, why? Or are you of the opposite frame of mind - you love to use javascript in your web development? Or maybe you use it only when necessary. Either way, I'd appreciate your thoughts.

    Thanks,

    *Nick*

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I think its fine to use javascript however if you use javascript your site must still be usable. A good example of this is the Lightbox script. It was written quite well. If javascript is disabled the user will still see the image but it won't be in its fancy sliding effect. Javascript adds that client/site interactivity. If you want to have a navigation menu done in all javascript then fine but provide an alternative navigation menu for users who have js disabled.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    I agree with _Aerospace_Eng_. It is a useful language but web sites should not rely on it to operate. Like Nick I have a fear of it. I think its all the predefined classes and properties that confuses me. However I am determined to learn how to use. If anyone knows of a comprehensive list of predefined objects and funstions I would be very grateful.
    You can not say you know how to do something, until you can teach it to someone else.


  •  

    Posting Permissions

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