memesearch
Drake Prefers Continue in Loop

Drake Prefers Continue in Loop

Download Find similar pictures
Text on the meme
foreach (var item in items) { if (condition) { Foo(); Bar(); } } foreach (var item in items) { if (!condition) { continue; } Foo(); Bar(); }
What it means

The meme uses the Drake Hotline Bling format to compare two ways of writing a loop. Drake rejects wrapping the main actions in an if statement and approves skipping unwanted items with continue, making the code flatter and easier to read. It is commonly sent as a reaction when someone prefers a cleaner programming solution. EN: The meme uses the Drake Hotline Bling format to compare two ways of writing a loop. Drake rejects wrapping the main actions in an if statement and approves skipping unwanted items with continue, making the code flatter and easier to read. It is commonly sent as a reaction when someone prefers a cleaner programming solution.

Who
Objects
Tags
Source
Template
Drake Hotline Bling
Type
image
Size
800×617 · 73.0 KiB
Mood
approving, humorous
Language
en
Added