File: why.md

package info (click to toggle)
google-auto-common-java 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,112 kB
  • sloc: java: 36,145; xml: 1,512; sh: 34; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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