Follow

is the best language ever 🙄 . Ever set a value to 0 via CLI parameter and wondered why it still took the default, then remembered that go encourages using default-Value (0 for integers) as an indicator of absence or "wanting the default value", then set the CLI parameter to 1 and suddenly it is taken into account?

Just happened to me because someone used an int where a pointer to int would have been necessary in go.

Just a reminder: 0 IS NOT THE SAME THING AS ABSENCE OF A VALUE!

Sign in to participate in the conversation
mastodon.cloud

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.