Integrated Dynamics

Integrated Dynamics

63M Downloads

"Name" operator input type description is incorrect

Flithor opened this issue · 6 comments

commented

image
And cannot work on List type
image

commented

What is incorrect about it according to you? A list can not be converted to a string, so the error description looks correct to me.

commented

So your request is to make this operator return a list joined as string and to rename the type "To String"?

commented

yes
I think “To String” type name should be a valid type list.

commented

well... so, how about the #607?
And the input type "To String" is a confusing name.

commented

I think “To String” type name should be a valid type list.

Since the choice of implementation of this non-obvious, I've decided to not make this change. A string.join (#607) would be a better solution.

commented

🤔hmmm...
I still think it should be renamed like" Number, Block, Item, Fluid, Entity", a type list, not just a word "named", "named" still not clear enough and make people feel puzzled.
And the "ToString" function in any program language are can process any type of data and returning a string. A "ToString" that limits the input type looks very strange and counterintuitive.