Welcome, Guest. Please login or register.

Author Topic: .info ... was it so much a good idea?  (Read 6153 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: .info ... was it so much a good idea?
« on: July 24, 2010, 11:47:59 AM »
Quote from: sim085;571859
Something that personally annoys me in Workbench is that it requires .info file to display an icon and determine which program to use to open a target file. I always found the Windows way of doing more natural; that is that file extensions are used to determine the type of file.

However I am really intrested to know what others thing about it and if anyone favours the use of .info files over the use of file extentions.

That's not strictly true. Workbench only shows files that have .info files by default. Choosing "show all files" will cause all the files that don't have dot info files to become visible.

Secondly, .info files only specify which action to take when the icon is opened. They aren't used to determine what the type the file is. That's the responsibility of tools like deficons. The latter use various rules, which can be as simple as matching the extension to checking for magic values within a file.

Showing file types based solely on their extension is not a good idea. It's fast, but it's also ambiguous, especially for the glut of three letter extensions that exist.
int p; // A