Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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?




I've come across bitwise shift operators literally once in enterprise webapp world, specifically on this precise problem: 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!)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: