Hacker News new | ask | show | jobs
by wslh 424 days ago
It was a positive comment about Swift showing the batteries included there. It is not normal to have such high-level methods for low-level stuff like bits in an integer. Clearly logical operations and rotation is included in all popular languages.
1 comments

Python has bit_count() as of semi recently :)

But I gotcha now, mistook "I wonder" as "I suspect it's not"