Background Image

Think Like A Software Engineer

Episode #98: Logic Trick: Or Equals


We can use the "or" operator to completely eliminate an entire conditional statement. Not just that, there's additional syntactic sugar we can use to reduce our code to a beautiful, concise statement.

Subscribe

Learning to code is much more than learning new concepts and syntax. It's a whole new mindset. Get a weekly video straight to your inbox with practical advice and strategies on how to think like a software engineer.