On 25.11.24 13:48, Gianluca Sartori wrote: [...]
I don't know, I am trying to simplify things instead of adding `var` to the language not because we need it but just to allow the copy-paste from Java. We have `var` because of Java? Okay, but let it be a first citizen instead of just a token to digest with no errors.
right now it is as much first class citizen as it is in Java, which is not much. The problem we have is simply that we do not clearly see where Java wants to go to with var from here and that we want to keep the options open at the moment. Then again... this was Java10, that is already quite a while ago. And in the meantime var got a bit an image of something you should avoid. So maybe it is time for us to decide what we want to do with var in the future as well. bye Jochen