Better HN
topnewbestaskshowjobs
Log inSign up

Wolog

1 karma · joined Jun 13, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

The danger is that you can intend to type

  if(b < -9) 
and instead type

  if(b <- 9)
The latter always evaluates to true and assigns the value you're trying to compare with to your variable. This can be extremely difficult to catch and detect, especially for people who aren't software developers. They aren't writing unit tests.