[TIMOB-17112] iOS: APSHTTPClient model objects should be immutable.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Matt Langston |
Assignee | Unknown |
Created | 2014-06-10T02:10:15.000+0000 |
Updated | 2018-02-28T20:03:12.000+0000 |
Description
APSHTTPClient model objects should be immutable (they are currently mutable). This standard engineering practice provides these benefits:
1. Automatic thread safety.
2. Easier to reason about.
3. Easier to maintain since there are no class/object invariants when mutating from one state to another.
No comments