Re:Please Don't Learn Category Theory (2013)
by anaphor on Wednesday January 15, 2014 @05:23PM
(#7066617)
It's not really Appendable though, because e.g. you can write a Monoid instance for various number-y things like Sum and Product.
[ Parent
| on HN ]
Re:Please Don't Learn Category Theory (2013)
by srl on Wednesday January 15, 2014 @05:27PM
(#7066648)
And you could write an Appendable instance for them as well, it would just fly in the face of what the word "append" means to most people. (Nitpick, of course.)
Re:Please Don't Learn Category Theory (2013)
by dllthomas on Wednesday January 15, 2014 @06:08PM
(#7066886)
Sure, but is that more understandable than using "monoid"?
Re:Please Don't Learn Category Theory (2013)
by chilldream on Wednesday January 15, 2014 @06:51PM
(#7067087)
Don't know enough to know that the current name is optimal, but at least "Monoid" correctly says to the initiated "you don't understand this yet." "Appendable" lies to you and says "you understand this" even if you don't.
Re:Please Don't Learn Category Theory (2013)
by dllthomas on Wednesday January 15, 2014 @07:56PM
(#7067349)
"Monoid" also has the advantage of being very searchable. First result on Google (from a private browser window) is the Wikipedia page with the snippet "In abstract algebra, a branch of mathematics, a monoid is an algebraic structure with a single associative binary operation and an identity element". DDG gives similar results, though the Doctor Who aliens are higher up...
Re:Please Don't Learn Category Theory (2013)
by lmm on Wednesday January 15, 2014 @08:46PM
(#7067525)
Yes. If I've got used to the idea that lists are appendable and then someone tells me I can "append" two numbers by adding them and that will fit the interface... yeah, that makes sense. It might be a bit confusing on the way, but better to use a term that covers the most common case than a term that's completely alien.