even though it is technically correct, having to do

func log10 (_ n: Int) -> Int {
return String(n).count - 1

always feels gross lol

Sign in to participate in the conversation

Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.