Channel BannerChannel Banner
WQ8bNdxREHUWQ8bNdxREHU

The Strategy Pattern: Write BETTER PYTHON CODE Part 3

132,183
Socialcounts.Org
Enter Fullscreen (f)
5,347
likes
214
comments
daily view 0
monthly view 0

Share

Live Analytics

Comments 0

The Strategy Pattern: Write BETTER PYTHON CODE Part 3 Analytics Table

Income Estimates for The Strategy Pattern: Write BETTER PYTHON CODE Part 3

Based on this YouTube video's total view count of 132K views and industry-standard rates, the estimated total earning is $93 - $264 through ad revenue. Historical data is not yet available to calculate daily, weekly, or monthly averages.

About The Strategy Pattern: Write BETTER PYTHON CODE Part 3

Explore The Strategy Pattern: Write BETTER PYTHON CODE Part 3 with 132,183 views, 5,347 likes, and 214 comments. Experience the impact of this video content that has captured audience attention.

šŸ’” Learn how to design great software in 7 steps: https://arjan.codes/designguide. The strategy pattern is a widely used design pattern that help you write better Python code. I'll show you how to apply the strategy using a practical example written in Python. I'll cover both the classic object-oriented version of the pattern, and I'll also show you a functional version that's a bit shorter to write and works equally well. At the end of the video, there's a more advanced bit where you'll see how to add type hints for functions as parameters. šŸŽ“ ArjanCodes Courses: https://www.arjancodes.com/courses. GitHub repository: https://github.com/arjancodes/betterpython. šŸ’¬ Join my Discord server: https://discord.arjan.codes. āŒØļø Keyboard I’m using: https://amzn.to/49YM97v. Chapters: 0:00 Intro 1:30 Code example 3:21 Main problem with the code 4:01 Switching to a strategy pattern 5:23 Creating concrete strategies 6:56 Updating the process_tickets method 10:09 Adding a new strategy 11:03 A functional version of the strategy 13:18 Adding a function type hint 14:49 Outro

About YouTube Real-Time View Count

With SocialCounts.org’s view counter, track your YouTube video’s live view count and YouTube likes count in real time with fast, reliable updates.

Watch every YouTube video live view count rise with our real-time YouTube views tracker—built for accuracy and minimal delay.

Follow YouTube real time views as they happen, using our dedicated view counter for YouTube videos.

Get up-to-date live view count on YouTube and see real-time growth with SocialCounts.org’s smart tracking tools.

Embed Widget

Parameters:

  • fullscreen=true - Fullscreen counter
  • graph=true - Live graph chart
  • counter=0/1/2 - Select counter (0=likes, 1=views, 2=comments)
URL

Click to copy the embed URL to your clipboard