CoreyMS

Development, Design, DIY, and more

  • Contact
  • Portfolio
  • Development
    • Python
    • Git
    • Terminal
    • JavaScript
    • WordPress
  • Design
    • CSS
  • DIY
    • Woodworking
    • Home Improvement
  • Contributors
  • Support
  • Giveaway

Python Coding Problem: Creating Your Own Iterators

October 24, 2018 by Corey Schafer Leave a Comment

In this Python Coding Problem, we will be creating our own iterators from scratch. First, we will create an iterator using a class. Then we will create an iterator with the same functionality using a generator. If you haven’t watched the tutorial video on Iterators and Iterables then I would suggest watching that first. With that said, let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, iterable, iterator, Programming, Programming Terms, Video

Python Tutorial: Iterators and Iterables – What Are They and How Do They Work?

October 24, 2018 by Corey Schafer Leave a Comment

In this Python Programming Tutorial, we will be learning about iterators and iterables. There is a lot of confusion around these terms and exactly what they mean. We’re also going to learn how to make an object ourselves that is both an iterable and an iterator. This video isn’t only about understanding these definitions. It’s also about understanding the concepts of iterators so that you can write better code. Understanding these underlying concepts is going to help you write code that is more efficient and will also help you see solutions to certain problems in a way you might not have thought of before. So with that said, let’s get started…

Filed Under: Development, Python Tagged With: Computer Science, iterable, iterator, Programming, Programming Terms, Video

Programming Terms: Closures – How to Use Them and Why They Are Useful

April 8, 2016 by Corey Schafer Leave a Comment

In this programming terms video, we will be looking at the term “Closure”. We will learn what a closure is and why they are useful. We will look at examples in both Python and JavaScript. In Python, understanding closures helps us understand common language features like decorators. And in JavaScript, closures will allow us to better understand callback functions and much more. Let’s get started…

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: First-Class Functions

March 8, 2016 by Corey Schafer Leave a Comment

In this programming terms video, we will be looking at the term “First-Class Function”. First-class functions are extremely important to grasp because understanding them will help us understand more complicated terms such as: Closures, Higher-order functions, currying, and more. We will be looking at examples of first-class functions in both Python and JavaScript so that we can really understand the concept, regardless of programming language. Let’s get started:

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: Memoization

November 3, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be learning the definition of the term memoization. Memoization is a technique of caching results of expensive function calls in order to speed up computer programs when the same input occurs again. Let’s take a look at some code examples to get a better understanding of how this works:

Filed Under: Development Tagged With: Computer Science, Memoization, Programming, Programming Terms, Video

Programming Terms: Combinations and Permutations

October 12, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be going over the difference between combinations and permutations. Combinations are groups of values where order does not matter. Permutations are groups of values where order does matter. Let’s take a look at some examples as to when we would use one over the other.

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: Mutable vs Immutable

August 17, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be going over the difference between mutable and immutable objects. An immutable object is an object whose state cannot be modified after it is created. This is in contrast to a mutable object, which can be modified after it is created. Let’s take a look at some examples as to what exactly this means and why it is important to know.

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: Idempotence

August 17, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be going over Idempotence. Idempotence is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application. Let’s take a look at this definition in-depth and go over a few examples.

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: String Interpolation

August 17, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be going over string interpolation. String interpolation is the process of evaluating a string containing one or more placeholders and yielding a result in which the placeholders are replaced with their corresponding values. Let’s take a look at this definition in-depth and go over a few examples.

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Programming Terms: DRY (Don’t Repeat Yourself)

August 17, 2015 by Corey Schafer Leave a Comment

In this programming terms video, we will be going over the concept of DRY (Don’t Repeat Yourself). This is a term you will hear a lot if you are just getting started in Computer Science or if you’ve recently started a new programming job. Let’s take a look as to what it means to keep your code “DRY”.

Filed Under: Development Tagged With: Computer Science, Programming, Programming Terms, Video

Main Contributor

  • Andre Nevares

Top Contributors (17)

  • Andre Nevares
  • Cyril Hediger
  • Abhilash Rajan
  • Hien Nguyen
  • Alan Hawse – iotexpert.com
  • Just a Guy
  • Alex Canady
  • Sergey Trubin
  • Justin Presley
  • Sirake
  • chris
  • Jerome Massey
  • Robert Butler
  • Jonathan Llovet
  • David Myers
  • Karthik
  • Michael Zoitas

Thank You! If you would like to have your name listed as a contributor and support the website, you can do so through my Patreon Page. I am extremely grateful for any support.

Search CoreyMS.com

Subscribe to Future Posts

Recommended Books

Podcasts I Listen To

Tech Related:
Talk Python To Me
Shoptalk Show
Software Engineering Radio
HanselMinutes
CodePen Radio

Non-Tech Related:
Dan Carlin's Hardcore History
Bill Burr's Monday Morning Podcast
Waking Up with Sam Harris
StarTalk Radio
Talk Nerdy with Cara Santa Maria

© 2023 · CoreyMS · Corey Schafer