News for hackers. Stuff that matters.
Re:What Python developers need to know before migrating to Go by jussij on Tuesday July 09, 2013 @12:26AM (#6011114)
So what do you do about the bitwise and and or operations. How should they be expressed?

Python expresses the bitwise and and or using the & and | characters, the exact same characters as Go.

And that also explains why Go chooses to use && and || for and the logical and or operators.

Re:What Python developers need to know before migrating to Go by anona on Tuesday July 09, 2013 @08:04AM (#6012207)
The code is much more readable if the bitwise operators do not look almost identical to the logical ones.