HackerTrans
TopNewTrendsCommentsPastAskShowJobs

timiam

no profile record

comments

timiam
·2 jaar geleden·discuss
> Variable names in Go are camel case, so ratelimit will never clobber a variable name. Even if it that wasn’t the case, having variables called rate, limit, or rateLimiter is plausible and even likely, but ratelimit? Not a thing.

Not to say it invalidates the whole article or anything, but in what world would "ratelimit" never be used as a variable name? That still feels like a fairly reasonable name for a variable if we're ignoring the camel-case requirement.
timiam
·3 jaar geleden·discuss
I'm a serial hobby-domain purchaser and Namecheap has never done me wrong, even when I end up using the domain for something!