Take Up Code

  • Autor: Vários
  • Narrador: Vários
  • Editor: Podcast
  • Duración: 49:49:03
  • Mas informaciones

Informações:

Sinopsis

Take Up Code is a podcast that explains computer programming topics through fun and engaging examples that you can relate to. The guided format allows you to gain valuable understanding of topics that will reinforce your studies, allow you to train new skills that you can apply on your job, and change your thinking about what it takes to become a professional programmer. The episodes are as short as possible so you can squeeze them into your daily routine.

Episodios

  • 33: C++ Casting. Turn Your Object Into A Frog.

    06/01/2016 Duración: 12min

    Can you change an int into a float? And because an int occupies multiple bytes in memory, can you get access to the individual bytes by themselves? Or what if you have a derived class and you want to refer to it as if it was a base class? And can you go the other way, from base class to derived class? These are the topics I will be explaining today.

  • 32: Static Methods And Data. Always Available.

    05/01/2016 Duración: 08min

    Declaring methods inside classes is great but what do you do when you want a method you can call anytime? If you are using C++, then just write a method. But if you still want your method in a class or if you are using C# where all methods need to be in classes, then you will need to make your method static. And you can declare static data too. What does that do?

  • 31: Getters And Setters Keep It Together.

    04/01/2016 Duración: 08min

    Your classes will likely have data members so how do you work with these data members? Should they be public? Private? Do you let other code access them directly? And what is the difference between a field and a property? This episode will help you get and set your data members.

  • QA Friday 2016-Jan-01

    01/01/2016 Duración: 09min

    How are namespaces and include files related and why do we need both?

  • 30: Interfaces. The Software Contract.

    31/12/2015 Duración: 06min

    Interfaces give you the ability to define behavior without actually implementing it. Why would you want to do that? Your classes can then declare support for interfaces which means that they promise to support that behavior. How your classes do this is up to them. Declaring support for an interface signals that they do this. You can have what might be completely unrelated classes all supporting the same interface which then allows you to work with them in the same way.

  • 29: Abstract Classes. Incomplete On Their Own.

    30/12/2015 Duración: 06min

    What if you were writing a class that you wanted to be a base class? A class designed from the very beginning to bring together other classes with common behavior. What if you also wanted to guarantee that this class could never be created by itself? That it must always exist as a base class for some other class? All you have to do is make your class abstract. Then it can only be instantiated as part of another class that derives from your class. This episode will explain why you might want to do this and how.

  • 28: Composition. The Has-A Relationship.

    29/12/2015 Duración: 09min

    Composition allows you to specify very different kinds of relationships between classes. This is sometimes also called containment. If you are building a racing game and have a car class and a wheel class, you would not want to say that cars are wheels but instead that cars have wheels. Proper use of composition will even allow you to substitute what kind of wheels your cars have. This can not only simplify your designs but make your code easier to test.

  • 27: Multiple Inheritance. Often Banned.

    28/12/2015 Duración: 08min

    C++ gives you the power to do great things and multiple inheritance is one of the most powerful tools you will have. This does not mean that you should always use it. Use it when it is the right tool for the job just like any other tool. I will show you in this episode how to use multiple inheritance properly.

  • QA Friday 2015-Dec-25

    25/12/2015 Duración: 07min

    How do you test changes in a large project? This question was asked during a recent live weekend class by Rushton W. In the class, I was explaining the benefits of compiling and testing changes often and Rushton wanted to know how this worked in a large application like might be found in a major software company.

  • 26: Inheritance. When To Use Private.

    24/12/2015 Duración: 07min

    This is an advanced C++ topic so do not get worried if it is difficult right now. You will rarely need to use private inheritance. And protected inheritance is probably even more rare. Some of my programming books just say that this whole topic is: beyond the scope of this book. I will do my best to explain this concept because that is what this podcast is all about. You get to learn from my experience.

  • 25: Inheritance. Overriding Methods.

    23/12/2015 Duración: 12min

    Declaring that a class is another class type is only part of the reason to use inheritance. It is actually much more powerful than just allowing you to refer to a group of different class instances all by some common base type. When you create a new class that derives from a base class, you can actually change the behavior of the base class methods to adapt them to the specific needs of the new derived class.

  • 24: Inheritance. The Is-A Relationship.

    22/12/2015 Duración: 09min

    Class relationships bring out the full power of object-oriented programming. Inheritance allows you to create classes that specialize or extend other classes. You can create entire hierarchies of classes but there are enough gotchas that some languages have restricted inheritance. This episode will not only explain what inheritance is but give you some guidance on how to use it wisely.

  • 23: Access Control. Employees Only.

    21/12/2015 Duración: 11min

    When defining what data and methods belong to a class, you also get to set accessibility levels so that some things are available for general use while other members are more restricted. Why not just make everything available? Then you do not have to worry about it, right? Learning proper access control will help you write code that is actually easier to understand and easier to use. This episode will explain why.

  • QA Friday 2015-Dec-18

    18/12/2015 Duración: 08min

    What are logical operators? I sometimes find this question asked online and thought it would be good to explore. There are only three and you might think you already know how to understand them. But have you heard of short circuit evaluations? If you do not fully understand how logical operations can sometimes exit early, then at best, you are going to write some inefficient code. And most likely, you are going to introduce some hard to find bugs.

  • 22: C# Creating And Disposing Instances.

    17/12/2015 Duración: 11min

    Creating instances in C# is a bit different because there is a difference between value types and reference types. You will be able to navigate your objects with ease after this episode.

  • 21: C++ Creating And Deleting Instances.

    16/12/2015 Duración: 11min

    You are ready now to apply what you have learned about class definitions, pointers, and constructors and destructors to be able to create new instances in the main computer memory. There are some fundamental differences between C++ and C# that we are going to again focus on just C++ first and then explore C# tomorrow.

  • 20: C# Destructors and IDisposable.

    15/12/2015 Duración: 07min

    C# calls them finalizers and that is strangely appropriate because all you really know about them is that they might eventually be called, finally. This is because C# decided to manage object lifetimes for you so you normally do not need to worry about leaking memory anymore. This is called garbage collection. The problem with this is that you now have other things to worry about.

  • 19: C++ Destructors. Simply Reliable.

    14/12/2015 Duración: 08min

    One of the biggest differences between C++ and C# is in how object lifetimes are managed. I was going to have a general topic on destructors just like constructors but there are just too many differences. So today, we are going to look at C++ destructors.

  • QA Friday 2015-Dec-11

    11/12/2015 Duración: 06min

    What is the best way to handle errors? Things will not always go the way you expect and you are going to need to plan how to handle errors. Should you use return codes or exceptions? Plus, this episode will help you in other ways. You will be glad you listened.

  • 18: Constructors.

    10/12/2015 Duración: 09min

    Constructors are your first opportunity to make sure your custom types are well formed. This episode explains the different kinds of constructors and how you should use them.

página 14 de 16