CodingConventions for XYscripts?
Posted: 23 Apr 2009 15:01
I think we should have some CodingConventions.
There is a huge collection of nice scripts here in the forum and the possibility to use parts of other scripts by simply launching them gets bigger every day.
But there are also problems comming along:
e.g. global var-names used by both scripts,
temp-files,
...
Thats the point where conventions should be used, so that every script uses a unique prefix in global variables. Temp/config-files should be stored at a specified place, internal and external-labels could have a defined prefix, ... may there be much more I haven't thought about yet.
I hope you scripting-folks agree that the idea of conventions is basically a good one, but its up to us to decide what we want and what we need.
Please give at least a quick feedback whats your opinion on my thougths when voting the poll.
There is a huge collection of nice scripts here in the forum and the possibility to use parts of other scripts by simply launching them gets bigger every day.
But there are also problems comming along:
e.g. global var-names used by both scripts,
temp-files,
...
Thats the point where conventions should be used, so that every script uses a unique prefix in global variables. Temp/config-files should be stored at a specified place, internal and external-labels could have a defined prefix, ... may there be much more I haven't thought about yet.
I hope you scripting-folks agree that the idea of conventions is basically a good one, but its up to us to decide what we want and what we need.
Please give at least a quick feedback whats your opinion on my thougths when voting the poll.