104 karma · joined Jun 4, 2023 (3y ago) · 40 submissions
comment 1y ago · link · parent
Not really. But that’s one of Rob Pikes rules [1], I think the intention is to write whatever is simplest and optimize later. The programmer doesn’t need to remember 100 rules about how memory is allocated in different situations.
comment 2y ago · link · parent
Uninformed bets should wash out as noise, and informed bettors should reverse uninformed moves so long as they are profitable.
comment 2y ago · link · parent
comment 2y ago · link · parent
The ecosystem and tooling are great, probably the best I've worked with. But the main reason I reach for Go is that it's got tiny mental overhead. There's a handful of language features so it becomes obvious what to use, so you can focus on the actual goal of the project.
There are some warts of course. Heavy IO code can be riddled with err checks (actually, why I find it a bit awkward for servers). Similarly the stdlib is quite verbose when doing file system manipulation, I may try https://github.com/chigopher/pathlib because Python's pathlib is by far my favourite interface.
comment 2y ago · link · parent
comment 2y ago · link · parent
If you define best as the most efficient at converting inputs to outputs as well as the output being 50/50 then there are better ways such as your example.
comment 2y ago · link · parent
comment 2y ago · link · parent
I don’t agree with the last comment, maybe I am a cynic.
comment 2y ago · link · parent
We've bridged human cultures in the past, which is easier because humans do similar (ish) things, we can use sight, touch, smell, etc to establish common ground.
We can communicate simple things with pets, though in my experience they learn from body language and intonation, understanding grammar and language feels like a step further.
What's the common ground with whales?
Like how eskimos have 100 words for snow, whales could have thousands of phrases for water, currents, temperature, storms. Fish, migration of different species. A language of relative position needed for pack hunting. They might tell stories about El Niño, earthquakes, tsunamis.
If they have social structure we may share ideas of relationships, friendship, giving (food), owing, sharing, helping, etc.
We might be able to correlate their speech with weather patterns and animal sightings. We could probably start a two way communication, I wonder if us or them would have better forecasts for sea conditions. They could act as a network of hundreds of thousands of sensors.
Sperm whales travel so far, that even without maps they might know the shape of the continents.
Very excited for the future.