this post was submitted on 28 Oct 2025
569 points (99.5% liked)
Funny
12413 readers
1051 users here now
General rules:
- Be kind.
- All posts must make an attempt to be funny.
- Obey the general sh.itjust.works instance rules.
- No politics or political figures. There are plenty of other politics communities to choose from.
- Don't post anything grotesque or potentially illegal. Examples include pornography, gore, animal cruelty, inappropriate jokes involving kids, etc.
Exceptions may be made at the discretion of the mods.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As a proponent of strongly typed languages, don't do that.
Instead, I think of it as one type implementing multiple interfaces, but we're still working on understanding the underlying type and what other interfaces it implements. Yes, you could implement a "compare" interface that does what you describe, but I don't think that's a good way to think about what's going on. Instead, I think of it as Go interfaces (Rust traits are close enough) where we define a bunch of interfaces, and the particle/wave happens to implement all of them.
We've provided a definition for waves and particles, but electrons seem to be something a little different, so it's very possible neither waves or particles actually exist and are merely manifestations of some other type that can exhibit both types of behavior. Once we figure out what that underlying type is, we can make more inferences as to other behaviors it could have.