I absolutely agree. But:
- sometimes you need to modify existing code and you can't add the types necessary without a giant refactoring
- you can't express units with types in:
- JSON/YAML object keys
- XML tag or attribute names
- environment variable names
- CLI switch names
- database column names
- HTTP query parameters
- programming languages without a strong type system
Obviously as a Hungarian I have a soft spot for Hungarian notation :) But in these cases I think it's warranted.
From now on, if anyone needs an example of why Lemmy/kbin are better than Reddit, we can link to this thread :) It was nice to have a respectful debate with someone without it devolving into an exchange of simplistic quips.
I understand what you mean, and I even agree with it, but just to be a little pedantic, variable names are code, or at least they are more code than comments or docs.
But yes, encoding units into the type system is a much better solution. It doesn't work however for config options, environment variables or CLI switches.
It's too entertaining actually! I'm wasting a lot of time here...
But there are also several pages that list all existing instances to help new users discover them. It would be easy to take this list and autoremove all comments that mention them.
Maybe, but maybe not. My prediction is that there will be extremely popular communities that will be basically like the biggest subreddits, but you will also be able to have a nice relaxed conversation in your home instance's smaller comms. So you'll get the best of both worlds!
Related: Making Wrong Code Look Wrong
TL;DR: there is good and bad Hungarian notation. Encoding types (like string or int) in variable names is bad. Encoding information that cannot be expressed in the type system is good. (Though with the development of type systems, more and more of those concepts can be moved into the types, keeping variable names clean.)
But as a Hungarian, I'm obviously a little biased :)
I'm also biased.
But:
- Celsius is easy to understand, even for children: water freezes at 0°C, boils at 100°C.
- It is understood by more people in the world.
- If the US used Celsius, understanding scientific papers and data would be easier for common people.
- In Celsius, the range of livable temperatures for humans (-20 to 40°C) still gives plenty of precision. Additionally, each step in the Celsius scale corresponds to a bigger change in "feel" of the temperature, which leads to a more intuitive understanding of temperature changes.
This is really interesting! I'll try it in my Midjourney prompts.
Haha thanks, but the original idea is from @goodside
on Twitter, I just screenshotted his tweet and harvested the upvotes :D
Ha! You can't just say "fight me" and then disappear! What are your arguments?