osslate / irc-message

Performant, streaming IRC message parser
BSD 2-Clause "Simplified" License
91 stars 13 forks source link

Freeze method #8

Closed Havvy closed 10 years ago

osslate commented 10 years ago

I fail to see why this is needed. irc-message instances do not need the ability to be immutable; it was designed from the very start to be flexible (for example, if you parse a PING, you can change message.command to PONG and use #toString() to recreate the raw line). There's no reason why an object shouldn't be mutable.

If you can provide logical proof as to why such a method should be implemented, go ahead.