3 ms·
Apparently it was fine to rename "flatten" to "flat," because that's what they did, but it wasn't okay to rename "flatten" to "smoosh." What's the difference?
by CobrastanJorji 4y ago
Apparently it was fine to rename "flatten" to "flat," because that's what they did, but it wasn't okay to rename "flatten" to "smoosh." What's the difference?
- windowshopping 4y agoProbably that flatten has a near-universal meaning across many programming languages, and flat is so close to flatten as to have its meaning be almost implicitly clear, whereas smoosh has absolutely zero precedent and its behavior would be completely uninferrable without looking up documentation.
- postalrat 4y agoI don't agree.
- jonnycomputer 4y agoMe neither.
- Smoosh 4y agoI'm staying out of it.
- nailer 4y agoIt actually wasn’t fine to rename flatten() to flat() - flat isn’t a verb, flatten() seems natural, and now you have to explain to everyone that yes it’s called flat() because someone on a standards committee really likes unmaintained web sites that probably have expired domains, expired certs, non paid for hosting but might run mootools.
- bee_rider 4y agoYah, flat() is a kind of poor name. toFlat() would be better IMO.
- deleted 4y ago[deleted]
- 2OEH8eoCRo0 4y agoThose are words. What is smoosh? Are we children?
- Smoosh 4y agoI beg your pardon?
- thaumasiotes 4y agohttps://www.merriam-webster.com/dictionary/smoosh https://www.merriam-webster.com/dictionary/smoosh It's not exactly obscure.
- paulgb 4y agoIf I’m looking for flatten and have autocomplete, I’ll find flat but not smoosh.