Introduction

- Hello, and welcome to Code Clinic.My name is Ray Villalobos.Code Clinic is a course where a unique problemis introduced to a collection of lynda.com authors.In response, each author will create a solutionusing their programming language of choice.You can learn several things from Code Clinic.Different approaches to solving a problem,the pros and cons of different languages,and some tips and tricks to incorporateinto your own coding practices.This time, the problem is tocreate a musical instrument controlled by the mouse.

Move the mouse up and down to change the pitch.Move it side to side to change the volume.The instrument is silent until weclick & hold one of the mouse buttons.Letting go off the buttons turns off the musical note.It's a simple request, but because it requires accessto the mouse, it may be difficultor impossible in some languages.In all cases, we'll explore some ways to solve the problemand learn why they might not work.Thomas Edison observed that negative resultsare just what I want.

They're just as valuable to me as positive results.I can never find the thing that does the job bestuntil I find the ones that don't.You may want to take some timeto solve the problem yourself.In the next videos,I'll explain how I answered this challenge.

Resume Transcript Auto-Scroll

Author

Updated

6/25/2015

Released

4/23/2015

Successful programmers know more than a computer language. They also know how to think about solving problems. They use "computational thinking": breaking a problem down into segments that lend themselves to technical solutions. Code Clinic is a series of ten courses where lynda.com authors solve the same problems using different programming languages. Here, Ray Villalobos works with JavaScript.

Ray introduces challenges and then provides an overview of his solutions in JavaScript. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.

Visit other courses in the series to see how to solve the exact same challenges in languages like C++, C#, Java, PHP, Python, R, Ruby, and Swift.

Skill Level Intermediate

3h 38m

Duration

177,716

Views

Show MoreShow Less

Q: I am unable to access the Lake Pend Oreille data from outside the U.S.

A: A static copy of this data is provided here for lynda.com members outside of the U.S