4 ms·
> trying to seem smart/clever Nobody that uses bit flags do it because they think it makes them look clever. If anything they believe it looks like using the m
by jfyi 2y ago
> trying to seem smart/clever
Nobody that uses bit flags do it because they think it makes them look clever. If anything they believe it looks like using the most basic of tools.
> One should not have to worry about solar flares!
Do you legitimately believe that a bool is immune to this? Yeah, I get this a joke, but it's one told from a conceit.
This whole post comes off as condescending to cover up a failure to understand something basic.
I get it, someone called you out on it at some point in your life and you have decided to strike back, but come on... do you really think you benefit from this display?
- Apfel 2y agoI've come across bitwise shift operators literally once in enterprise webapp world, specifically on this precise problem: https://stackoverflow.com/a/12900504/13238134 https://stackoverflow.com/a/12900504/13238134. I made a concerted effort to understand the code before I made any effort to adapt it to the repo I was working on. I'm glad I did (although honestly, it wasn't in the remotest bit necessary to solve the task at hand!)