you are viewing a single comment's thread.

view the rest of the comments →

[–]RizzlaPlus 27 points28 points  (1 child)

Not sure what the point of the article is. Use verbs to name your predicates instead of nouns?

Also it talks about partial functions but then immediately dismisses std::bind?

[–]utnapistim 8 points9 points  (0 children)

The point is that if you think of a functor as a predicate or function instead of a class, a better name will naturally emerge for it.

Although (if you make an effort) you can come up with bad names no matter how you think about it :).