Maxdamantus08:26:48 < jreicher> Oh, come on. Nobody says "empty distance", do they?
MaxdamantusA distance is the same sort of thing as a size. size, length, distance are all measurements.
Maxdamantusdistance is slightly different in that it has a unit.
* Betal joined #java
jreicherMaxdamantus: exactly. I'm fairly sure nobody says "empty" for any of them.
jreicherI think that's actually wrong.
fizzieString implements CharSequence, so while it's not a _collection_, it's clearly a _sequence_, and those can definitely be empty.
jreicherYes, that's the interpretation I was referring to. But you still need to "do" that interpretation, and confused people wouldn't, or wouldn't know they are.
Maxdamantusthe size isn't empty. the string is.
jreicherNo, it's not
jreicherIt's just a string
dreamrealfizzie++
nevetfizzie now has karma of 2.
fizzieAnyway, I wouldn't think you can dislodge "empty string" from the standard terminology at this point, it's very widespread.
jreicher"" and "blah" are both strings. They have different lengths, and are composed of different characters, but otherwise have the same "status"
Maxdamantusan empty string, because its size is zero.
dreamrealand "blah" contains ""
jreicherMaxdamantus: so the number 0 is an "empty number"?
Maxdamantusjreicher: no.
jreicherExactly. The concept of "empty" doesn't apply.
Maxdamantusjreicher: it's a number that is used to denote emptiness.
Maxdamantusit itself is not empty, that's what I'm saying.\
jreicherOh hell no. It's just a number. It doesn't denote anything.
fizzieI feel like by that argument you couldn't say "empty set" either. Set.of() and Set.of('b', 'l', 'a', 'h') are both sets. They have different elements, but otherwise have the same "status". Why can you call the former an empty set then, but you can't call "" an empty string?
jreicherfizzie: a set is most definitely a collection. Totally different kind of object
dreamrealpretty soon you nerds are going to start talking ontologies and meanings and I'mm have to shut you down before a D&D game breaks out
Maxdamantusthat's why you don't say that a size or a distance is empty.
jreicherExactly
jreicherAnd it similarly is odd to say that a string is empty
dreamrealwhich one of you is the halfling/toad hybrid paladin?
jreicherI don't care, as long as I can have the flamethrower.
dreamrealNO FLAMETHROWERS IN THIS GAME. It's a house rule. However, there are steampunk molotov cocktails.