Skip to content

Commit

Permalink
Updating rules (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabrena authored Jan 1, 2025
1 parent 4efebc1 commit 9483a90
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .cursorrules
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,13 @@ Item 86: Implement Serializable with great caution
Item 87: Consider using a custom serialized form
Item 88: Write readObject methods defensively
Item 89: For instance control, prefer enum types to readResolve
Item 90: Consider serialization proxies instead of serialized instances
Item 90: Consider serialization proxies instead of serialized instances

# Notes to avoid concurency issues

- Try to not maintain state in the class

# Notes to improve functional programming

- Try to use immutable objects
- Try to not mutate the state of the objects

0 comments on commit 9483a90

Please sign in to comment.