Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Code efficiency. There are other words we can use (optimization, performance, speed), but it's all about making existing code run faster. Whether for desktop, mobile, or web apps, in this course you'll see how to identify pain points and measure them accurately, as well as view multiple approaches to improve the performance. Author Simon Allardice covers everything from "quick fixes" to more complex (but more accurate) algorithms.
Learn to choose the right data types, understand the pitfalls of using high-level languages, and decide where to spend your time. Plus, see how the underlying memory management model may have more of an impact than you realize, and what performance issues you can expect working with databases and web services.
(MUSIC) Welcome to Foundations of Programming Code Efficiency. I'm Simon Allardice, and in this course, I'll talk about how to make your programs faster, more efficient. More optimized, more responsive, and making better use of whatever resources you have. But this kind of work is not what most developers first think it is, so we'll begin by working through some core principles, things to pay attention to. One of these ideas is that any gut feeling you might have about why your code is slow, is very often wrong.
So, we'll explore using diagnostic tools like profilers to find out where the problem truly is. Once we know that, we'll see how to approach and treat multiple issues. Because our code might already be efficient with memory. But inefficient with its own internal processing, its own algorithms. Or the problem could be the other way around. I'll also discuss the very different options for improving web, desktop, and mobile applications and we'll cover the impact that your chosen language and environment has on what you can expect. And importantly, how to be efficient with your own development.
To recognize where to spend your time, where the best improvements are possible, and also when to realize if there's simply nothing to be gained, from continually trying to optimize part of your application that just isn't worth it. So let's get started.
There are currently no FAQs about Foundations of Programming: Code Efficiency.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.