Tag: yoda

  • Wrong is Yoda

    Like any profession, programming is full of things you should do, and things you shouldn’t. Some of these are passed-down experiences, and some are momentary fashions. One of the former is that you should write a conditional using Yoda notation. That is, instead of writing: if ( x == 1 ) You should write: if […]