amber-docs
record-util
Our great sponsors
amber-docs | record-util | |
---|---|---|
58 | 2 | |
141 | 32 | |
0.7% | - | |
6.3 | 0.0 | |
about 2 months ago | about 3 years ago | |
HTML | Java | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
amber-docs
-
JDK 20 G1/Parallel/Serial GC Changes
https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
This is the vague plan.
-
Where does the dislike/hate for Java come from?
This kind of pattern matching is discussed in the design notes: https://github.com/openjdk/amber-docs/blob/master/site/design-notes/patterns/pattern-match-object-model.md
-
Making Lenses Practical in Java
Or just stop trying to force immutability into something that is clearly mutable. You’re only causing unnecessary GC pressure by copying objects.
Never the less this eerily looks similar to Goetz proposal for reconstructors:
https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
True, but that only pushes the question of value down the line.
I'm curious about lenses because Java did have a serious problem that required a solution: working with "simple" data correctly was difficult. The chosen solution was ADTs, so we did buy into that. But the approach being explored for transforming records (https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...) only works one level at a time rather than for an entire path. So I wonder how valuable it would be to have a solution for paths. If the answer is that it's mostly valuable for an approach we haven't bought into yet, then we might not need to consider it just yet.
-
How I got involved in the Rust community
Just a heads up, something like that spread operator is actually coming sooner or later to java: https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...
Pattern matching (for records) is already a preview feature.
- Should you still be using Lombok?
- Named Parameters in Java
-
"With" for records -- Brian Goetz
Glad to see this is moving forward - I've been excited for this since first reading this writeup last year (I think.) I sincerely hope this also provides a nice platform for builders, though I'd prefer it if the syntax could be used to instantiate a new record rather than transform an existing one; it'd be neat to be able to do something like:
-
What happened to Concise Method Bodies?
Java does not need and will not have first-class properties, at least not in any foreseeable future. However, better initialisation is a good requirement, but it can be solved with much better features than harmful properties, and work is being done on that.
The direction has been clearly explained all along.
record-util
What are some alternatives?
adoptium.net - Development of the website has moved to https://github.com/adoptium/website-v2
jmolecules - Libraries to help developers express architectural abstractions in Java code
record-builder - Record builder generator for Java records
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
vim-fibo-indent - Fibonacci Indentation for Vim.
prettier-java - Prettier Java Plugin
ImportExcel - PowerShell module to import/export Excel spreadsheets, without Excel
adoptium
CQEngine - Ultra-fast SQL-like queries on Java collections
jib - 🏗 Build container images for your Java applications.
soteria - Soteria, a Jakarta Security implementation