Saved
orangecrumbs
Weekly digest

Get new Wikipedia articles popular on Hacker News - one email per week.

No spam. Unsubscribe anytime. · Privacy

You're in! First issue lands soon.
Full article HN thread
Yoda conditions

Yoda conditions

▲ 133 💬 104

In programming jargon, Yoda conditions (also called Yoda notation) is a programming style where the two parts of an expression are reversed from the typical order in a conditional statement. A Yoda condition places the constant portion of the expression on the left side of the…

No articles match these filters.
Loosen the topics or points filter.
HN ↗
Loading comments…

Yoda conditions

▲ 133💬 104

In programming jargon, Yoda conditions (also called Yoda notation) is a programming style where the two parts of an expression are reversed from the typical order in a conditional statement. A Yoda condition places the constant portion of the expression on the left side of the…

Open on HN ↗
Loading comments…
Weekly digest

Get new Wikipedia articles popular on Hacker News - one email per week.

No spam. Unsubscribe anytime. · Privacy

You're in! First issue lands soon.

Sort & filter

Sort
🔀 Shuffle
▲ Most points
🕑 New
💬 Most discussed
Points
All
50+
100+
150+
Topics