Best Practices for New Language Feature Usage
Nick Mancuso
nicholas.mancuso13 at gmail.com
Mon May 27 19:25:17 UTC 2024
Hello all,
I maintain a static analysis tool for Java, called Checkstyle
<https://github.com/checkstyle/checkstyle>. We do our best to stay up to
date with support for parsing the latest Java syntax, sometimes it is hard
to know what best practices are for a given feature, especially when it is
still in preview (we try to support high-demand preview features if they
have 2-3 preview releases). Would this mailing list be an appropriate place
to inquire about and discuss how to correctly (and incorrectly) use new
language features?
For example, I was thinking of creating a post called "Java 21 Record
Pattern Best Practices". My hope would be that perhaps some of the folks
that worked on delivering, testing, or just using this feature could
comment on good usages, things they have seen that are a bad idea, and so
on. This would help Checkstyle immensely by inspiring the creation of new
ways to analyze code and help developers to use these new features in the
best possible way.
Best,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/discuss/attachments/20240527/a61e2891/attachment-0001.htm>
More information about the discuss
mailing list