You cannot enforce how people want to write headers.I think some of the key/value [pairs are a great idea and would be happy to adopt such things for my own scripts; however, i also think some of the proposed k/v's are completely unnecessary.
Quite a few of them are information that would generally be contained within a script header, such as author, version, description etc.
If you force them to write them as ruby, then you can at the very least parse it as ruby.
Are we talking bytes of "wasted" memory and nanoseconds of start-up time?Also, just an afterthought, but...
If we started adding all this extra data into the $imported variable, wouldn't it cause performance loss to some degree ?
I mean... Many people have already complained previously about having to use $imported and how $imported is just data 'lying around doing nothing'.
Last edited by a moderator:
