28

It’s quite telling that one of my highest voted Stack Overflow answers relates to nothing more than a simple misunderstanding of language. Apple’s use of the term fault in Core Data seems to cause quite a lot of confusion.

Apple to tend to use a ten-dollar word when a cheaper one will do in their APIs (ubiquity or segue, anyone?), but it’s usually a correct and unambiguous one. Fault, particularly when seen in a log statement, is all too readily interpreted as error.

There are three noun definitions for Fault:

  • (noun) an unattractive or unsatisfactory feature, esp. in a piece of work or in a person’s character.
  • (noun) responsibility for an accident or misfortune.
  • (noun) an extended break in a body of rock, marked by the relative displacement and discontinuity of strata on either side of a particular surface.

None of these look useful.

Breakpoint telling a fetch request to return objects as faults

Breakpoint telling a fetch request to return objects as faults

Read full article on commandshift.co.uk