xpusostomos commented on issue #13655: URL: https://github.com/apache/grails-core/issues/13655#issuecomment-2840714756
I've got to comment on this... I suspect the dot notation was deprecated, because the code to make dot notation work is a mess and a performance problem ... BUT BUT BUT BUT BUT ... it can be implemented easily in an efficient manner, so this whole deprecation bothers me a lot. The whole fabric of Groovy is that it can make things that you are tempted to write your own language for (and make no mistake "foo.bar.baz" is a mini language), into a groovy syntax. For example, the grails query syntaxes. It can do it by synthesizing method names on the fly. By all means clean up the current performance hindered properties implementation, but dot notation can be implemented using groovy magic in a few lines of code and won't hurt performance one little bit... especially for those who don't even use it. DON'T DEPRECATE IT. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
