Better HN
topnewbestaskshowjobs
Log inSign up

pyrextamer

1 karma · joined Mar 29, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

What if the order depended on the check condition?

`if (null == variable) or if (false == variable)` reads well that you are checking for null/false.

`if (variable != null) or if (variable != false)` reads well that you want non-null/false conditions.