Similarly, in a system that uses some form of messaging to communicate between components, making the message objects immutable is probably sensible.
英
美
- 同样地,在使用一定形式的消息传递以在组件间通信的系统中,使消息对象成为不变的或许是明智的。