-
We can see this picture. Both types, Character and Integer, provide two aliases. I think this is unnecessary. Why can't we unify them, delete the two aliases : integer and character, and only use int and char? Is this for compatibility? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi, I'm sure others can answer far better than me but can you point to the code as to where you think this is a problem? They are clearly different in general. Sure one is a wrapper, if its int and you want Integer, it requires wrapping/unwrapping which IMO I avoid by making sure to be explicit. I don't know if the internals are doing something based on that aspect, probably are but pointing to code would help. Also if you could write markdown for images instead of images as no one can search on images. |
Beta Was this translation helpful? Give feedback.
-
Thanks for adding additional information. I still think its needed but will let others comment. |
Beta Was this translation helpful? Give feedback.
-
Hello @YHHD , We won't remove existing aliases because it breaks backward compatibility. |
Beta Was this translation helpful? Give feedback.
Hello @YHHD ,
We won't remove existing aliases because it breaks backward compatibility.
Such a change is only justified when there is a security concern or it significantly improves performance (memory usage and/or speed), for example.