Naming Conventions:

Discussion in 'macOS' started by iMAVERICKam, Apr 7, 2009.

  1. iMAVERICKam macrumors member

    Apr 7, 2009
    I have been using Macs since Jaguar (10.2), and have seen this file naming convention in several places for a long time, but I still don't get the reason. Why are there files named in the format of

    For example: in ~/Library/Preferences (if you use Address Book)

    I can understand company.product, but why the heck is there a tld prepended?
  2. kastenbrust macrumors 68030


    Dec 26, 2008
    North Korea
    It must be for some databasing purpose, maybe for Apples software archive?
  3. wrldwzrd89 macrumors G5


    Jun 6, 2003
    Solon, OH
    This convention is widely used in the programming world. It's called Reverse-DNS naming, and its purpose is to minimize name clashes. For example, let's say Company A and Company B both make a product called SwipeToy for Mac OS X. If they both called their program's preference files SwipeToy.plist, they'd constantly overwrite each other if used together. Hence, the and convention that exists today.

Share This Page