dimeslime

joined 2 years ago
[–] dimeslime@lemmy.ca 5 points 1 week ago* (last edited 1 week ago) (1 children)

Correct, and since there are multiple instances I'm using a plural form, and fighting autocorrect at the same time.

[–] dimeslime@lemmy.ca 8 points 2 weeks ago (4 children)

My current favorite is in ruby with the unless keyword:

tax = 0.00
unless not_taxed(billing)
  tax = billing.zipcode.blank? ? estimated_tax_from_ip(account) : billing.tax
  tax = (tax.nil? ? 0.00 : tax)
end

To me, anything payments related you want to be really super clear as to what you're doing because the consequences of getting it wrong are your income. Instead we have this abomination of a double negative, several turnaries, and no comments.

[–] dimeslime@lemmy.ca 3 points 2 weeks ago

But there are alternatives to both CloudFlare and android, and CloudFlare has competitors with free tiers that I think are easier to use (I'm one data point)? The problem is people deciding to use CloudFlare or CloudFlare itself?