Alias parts PHP script


Re: Alias parts PHP script
#8
I just want to note that no script should rely on that any of the header lines occurs in a certain line number.
"It is always on line 4" is something we should avoid.
Of course, we should stick to adopting some "normal" default order in the header when publishing parts,
but all tools should be capable of reading a file where 1 or more of the header lines is not present,
or where they are in a different order.
The header lines should more be treated like "key = value" assignments:
they convey the information
  • type is xyz
  • license is xyz
etc.
In which _order_ this information is communicated to a tool should be of irrelevance.

Just wanted to mention this,
applying the general principle 3.9 from here http://www.faqs.org/rfcs/rfc1958.html :
"3.9 Be strict when sending and tolerant when receiving."
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Alias parts PHP script - by Orion Pobursky - 2012-06-27, 14:26
Re: Alias parts PHP script - by Allen Smith - 2012-06-27, 16:14
Re: Alias parts PHP script - by Chris Dee - 2012-06-28, 5:41
Re: Alias parts PHP script - by Allen Smith - 2012-06-28, 15:59
Re: Alias parts PHP script - by Steffen - 2012-06-30, 10:27
Re: Alias parts PHP script - by Chris Dee - 2012-06-30, 11:02
Re: Alias parts PHP script - by Allen Smith - 2012-07-02, 1:00
Re: Alias parts PHP script - by Allen Smith - 2012-07-06, 15:59
Re: Alias parts PHP script - by Allen Smith - 2012-07-06, 17:53
Re: Alias parts PHP script - by Chris Dee - 2012-07-08, 6:57
Re: Alias parts PHP script - by Allen Smith - 2012-07-08, 22:48

Forum Jump:


Users browsing this thread: 4 Guest(s)