Oh yeah, I think `()` for indexing like in Scala is fine too.
Conversation
I love that collection access in scala looks like a function call like that.
2
2
how does Scala solve for making indexable user collections anyways?
3
1
I think the call operator is overloadable?
1
1
Everything is overloadble.
1
1
Yeah, as an outsider things seem a bit nicer in Scala land since the move away from libraries like ScalaZ (which used far more operators than healthy), towards Cats which seems more restrained and careful in its choices of operators…
1
2
Never before seen levels of commitment to the bit
1
3
lol this is worse than I remembered
It's really bad. Can you even imagine entering codepoints for this nonsense all the time? Someone *wanted that* for some reason.
4
2
okay but we should do the last three.
2
2
Show replies



