You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
696 B
20 lines
696 B
4 months ago
|
# Why use AutoValue?
|
||
|
|
||
|
|
||
|
AutoValue is the only solution to the value class problem in Java having all of
|
||
|
the following characteristics:
|
||
|
|
||
|
* **API-invisible** (callers cannot become dependent on your choice to use it)
|
||
|
* No runtime dependencies
|
||
|
* Negligible cost to performance
|
||
|
* Very few limitations on what your class can do
|
||
|
* Extralinguistic "magic" kept to an absolute minimum (uses only standard Java
|
||
|
platform technologies, in the manner they were intended)
|
||
|
|
||
|
This
|
||
|
[slide presentation] compares AutoValue to numerous alternatives and explains
|
||
|
why we think it is better.
|
||
|
|
||
|
|
||
|
[slide presentation]: https://docs.google.com/presentation/d/14u_h-lMn7f1rXE1nDiLX0azS3IkgjGl5uxp5jGJ75RE/edit
|