Skip navigation

Introduction to multithreading

Introduction to multithreading: Foundations of Programming: Fundamentals
Introduction to multithreading: Foundations of Programming: Fundamentals

Multithreading is essentially multi-tasking developers use to not only make programs more effective but also to prevent applications from crashing. The Introduction to Multithreading video, as part of the Foundations of Programming course, covers the basics of multi-threading, when and how to use it, and challenges inherent with multithreading, including the lack of available resources. Watch this Lynda.com JavaScript tutorial to learn how to use multithreading to make programs responsive.

Resume Transcript Auto-Scroll
Skill Level Beginner
4h 47m
Duration
9,913,414
Views
Show More Show Less

Q: Using TextEdit with Mac OS 10.9 Mavericks? 

<div>A: If you're using the built-in TextEdit program in Mavericks to write your first examples and your code doesn't seem to be working, here's one reason why: by default, "smart quotes" are now turned on in TextEdit Preferences.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1">This is where TextEdit will automatically change pairs of double quotes to "smart quotes" - where the opening and closing quote are different, like a 66 and 99.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1">While this is fine for human eyes, programming languages don't want this - when writing code, they need to be the plain, generic straight-up-and-down quotes.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1">So make sure that in TextEdit &gt; Preferences, that "Smart quotes" are <strong>unchecked</strong>.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1"><strong>Important!</strong> Whenever you make a change to TextEdit preferences, make sure to then completely quit out of the program (Command-Q or using TextEdit &gt; Quit TextEdit) and then re-open it, as changes won't take effect on documents you already have open.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1">However, we're not finished - just because you've changed the preferences, it does **not** change any *existing* smart quotes back to "regular" quotes - it just doesn't add new ones - so make sure to go through your files for any time you wrote quotes and TextEdit may have changed them to smart quotes - look in both the JavaScript, and your HTML too, and compare to the downloadable exercise files if necessary.</div><div>&nbsp;</div><div id="pastingspan1"></div><div id="pastingspan1">If that sounds like a bit of a chore, I recommend just downloading a code editor like Sublime Text (www.sublimetext.com) or TextMate (www.macromates.com) and using that instead of TextEdit - it's only a matter of time before you'd move away from TextEdit anyway - we only used it in the course because it was built-in and a quick way to get started, but it's now become more of a inconvenience than it was before.</div>

Skills covered in this course
Developer Programming Foundations Web

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now