dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Structure in javascript code

  1. #1
    Join Date
    May 2012
    Posts
    2

    Structure in javascript code

    Im trying (again) to learn my way through JavaScript. The first time I tried I was quickly overwhelmed because I had barely learned HTML && CSS at that point. Now I feel more comfortable and want to give it another swing. In the downtime between then and now I have taken an introductory programming class at school that focused on Java programming. I picked up on it very quickly because of how strict the data types and the structure of java code is.

    I know JavaScript and java are completely different but the flexibility of JavaScript is really bothering me and making it so hard to learn. So what's the best or most common way to structure JavaScript code? How can I set up classes and actionlisteners similar to Java? Is it even possible?

  2. #2
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    May 2012
    Posts
    2
    The Osmani one looks perfect! Thank you I guess it is OOP that made Java so much easier for me to wrap my head around. I knew this would probably be an easy thing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles