Avatar

deceitfulsteve

deceitfulsteve@programming.dev
Joined
0 posts • 5 comments
Direct message

Mor than 3 million Pintos were sold and all Tesla models combined are under 10 million

permalink
report
parent
reply

BMI “works” for populations. It was originally designed and characterized to measure populations, and so it’s the perfect thing to compare massive populations, like states. The majority of people are adequately characterized by BMI, just as they are by waist circumference measures. The “outliers” are vastly more likely to pipe up online.

permalink
report
parent
reply

I work with a code base that is perhaps going through a similar transition. Performance hasn’t really been a consideration and so when new functionality is tacked on we’re frequently making a new API call even though we might already have the data somewhere else.

I don’t have a name for the pattern or anti-pattern, but people’s responses seem to indicate that it’s largely a good thing, the change that you’re making. I’m reminded of a Martin Fowler-esque or TDD idea that a function should either retrieve data or process it. However I wasn’t able to find a blog post about that with a quick search.

permalink
report
reply

I believe that in order to edit, you’d submit a pull request to https://github.com/BitEU/Buy. Someone else has recently done just that.

permalink
report
parent
reply