▲ | wslh 14 hours 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. | ||
▲ | spencerflem 13 hours ago | parent [-] | |
Python has bit_count() as of semi recently :) But I gotcha now, mistook "I wonder" as "I suspect it's not" |