Re: Router code is just as crap
If(packetBuffer.IsFull() == true)
Or even just:
If( packetBuffer.IsFull() )
... because, you know ... Boolean logic.
The compiler will probably emit the same thing in each case, but the shorter way is easier to read/maintain.