The first 500 people to use my link will get a 1-month free trial of Skillshare! ► https://skl.sh/carberra03251
The walrus operator is widely regarded as Python's most controversial feature, but is it for the correct reasons? In this video we look at what exactly happened to give the walrus operator its reputation, and look generally at how the feature can be used to increase (or decrease) readability and performance.
00:00 - Intro
02:19 - Why is the walrus operator controversial?
04:39 - Basic usage
07:35 - Combining efficiency and readability
09:36 - Some gotchas to look out for
12:53 - Outro
This video is sponsored by Skillshare.
—
~ Hotlinks ~
Join the Discord ► https://discord.gg/5vVgQpK
Check out the GitHub ► https://github.com/Carberra
~ Setup ~
Visual Studio Code ►
https://youtu.be/PBQspYkkksU
Terminal ►
https://youtu.be/4RuGK3w6Mbs
Desk/recording gear ► https://kit.co/Carberra
PC build ► https://uk.pcpartpicker.com/list/TmzGYN
~ Affiliations ~
ChatLLM and CodeLLM ► https://chatllm.abacus.ai/phxDqZSGjZ
Codecrafters (40% off any plan) ► https://app.codecrafters.io/join?via=parafoxia
Keeper Password Manager (30% off your first year) ► https://keeper.io/r/EX4FB1C
#python #coding #howto