Bitwise Operators Part 7

And I'm back! Still with the back pain but, I must move forward! In the part 6 we created the code which will be responsible for create the statuses, and now, we'll write the part where we set one of this statuses as the current state. Let's recap our interface? export class StateManager { set … Continue reading Bitwise Operators Part 7


Bitwise Operators Part 2

Why? Well, again, because it'll make your code simpler than if you don't use it! The internet is full of complex examples of bitwise operators which are, no doubt, difficult to see how we can use them in a real-life situation. This isn't what you'll find here! I propose to write a simple yet effective … Continue reading Bitwise Operators Part 2