Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
"why the registry prejudice?"

I have a few things that I don't like about the approach, althought they are mostly out of a user's perspecitve.

  1. Comments
  2. Unreadable
  3. Multi platform problem

1. With text files, it's easy to comment a certain value out. This way, you will keep the old value, while you can try a new value. Besides the altering, I like some explanation in configuration files anyway: "This value is used for yadayadayada". With the registry approach, you can of course alter values too, but either you should have a good memory, or write every old value down somewhere, in case you ever want to return to the old value.

2. Maybe it's just me, but I find it terribly hard to find where exactly an app. stores its configuration, due to the massive ammount of data that is all located in one place. It can take quite a bit of time to finally locate the "folder" (or whatever it is called) with the configuration options.

3. As I stated, I already have a working app. targeted for *NIX systems, which don't have a registry. Hacking the registry support in, would make no sense for the *NIX systems and only add problems (if I decide to add one option to the config file, I would have to make sure the registry would get that change too, which I am likely to forget, for I don't use a win32 system myself).

--
b10m

All code is usually tested, but rarely trusted.

In reply to Re: "Porting" scripts to Win32 by b10m
in thread "Porting" scripts to Win32 by b10m

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (None)
    As of 2024-04-25 04:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found