osslate / irc-message

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

Remove 'name' suffix from hostmask object keys. #3

Closed Havvy closed 10 years ago

Havvy commented 10 years ago

Since to use the hostmask, you must already know that those three properties are all names, it would be nice to not have to say 'nickname' or 'hostname' or 'username' when referring to them. No useful information is stored in the common suffix.

osslate commented 10 years ago

Decided against renaming the object keys as described above. I'd rather have the keys be expressive; it's not that much of a pain to write nickname instead of nick, etc.