Skip to content

Commit

Permalink
--
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Aug 2, 2024
1 parent 5870f3a commit be697ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Nevertheless, there are still reasons to prefer *attrs* over Data Classes.
Whether they're relevant to *you* depends on your circumstances:

- Data Classes are *intentionally* less powerful than *attrs*.
There is a long list of features that were sacrificed for the sake of simplicity and while the most obvious ones are validators, converters, [equality customization](custom-comparison), a solution to the [`__init_subclass__` problem](init-subclass), or {doc}`extensibility <extending>` in general, it permeates throughout all APIs.
There is a long list of features that were sacrificed for the sake of simplicity and while the most obvious ones are validators, converters, [equality customization](custom-comparison), a solution to the [`__init_subclass__` problem](init-subclass), or {doc}`extensibility <extending>` in general -- it permeates throughout all APIs.

On the other hand, Data Classes currently do not offer any significant feature that *attrs* doesn't already have.

Expand Down

0 comments on commit be697ca

Please sign in to comment.