Ask HN: Why do you make class members private?

I know this is something that a lot of people do without thinking about it. So let’s think about it. I want to know the main reasons for making variables and functions in a class private. How is it better? What can happen if you don’t do it? Here are a few possible reasons that I can think of that […]

Ask HN: What technologies have made your life worse?

I’ll give just one example. A few weeks ago I took my baby to the doctor for a routine exam, which includes weighing. Scales are an ancient, pretty straightforward technology. If a skilled craftsman built a scale 300 years ago and it was well maintained over the centuries, I think its reasonable to expect it to still work adequately, and […]