You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/01 17:48:22 UTC
[GitHub] [netbeans] matthiasblaesing commented on pull request #4522: Adding inline type hint for 'var' variables
matthiasblaesing commented on PR #4522:
URL: https://github.com/apache/netbeans/pull/4522#issuecomment-1234596498
I think this moves from a technical review to a philosophical question. I don't think the IDE should make decisions what is "a right way" to code. If a team/person decides, to use `var` without thinking about it and relies on its IDE to read it, it is its decision.
So from my POV it comes down to these questions:
1. Is the code correct?
2. Is the introduced behavior consistent with the current behavior?
We might indeed better configurability for the feature (for example to disable var type display and enable parameter name hints), but that is a different discussion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists