| View previous topic :: View next topic |
| Do you want to standardize Scripts & Functions forum |
| Yes |
|
42% |
[ 12 ] |
| No |
|
46% |
[ 13 ] |
| I don't care |
|
10% |
[ 3 ] |
| Other (xplain) |
|
0% |
[ 0 ] |
|
| Total Votes : 28 |
|
| Author |
Message |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Tue May 15, 2007 3:41 pm Post subject: |
|
|
| I like the idea about suggesting a layout of scripts that are posted but I really don't like the idea of forcing people to stick to that layout so I voted no. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Tue May 15, 2007 4:31 pm Post subject: |
|
|
Ah, so you would like to have things organised, but not to do it yourself.
I see. _________________
 |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Tue May 15, 2007 4:37 pm Post subject: |
|
|
It is helpful if people decide to add structure to the way they post scripts but its not essential, I can still run the script.
I wouldn't want to be dictated to about the way I post it. I think that would discourage people from posting them. |
|
| Back to top |
|
 |
nØØb Guest
|
Posted: Tue May 15, 2007 5:13 pm Post subject: |
|
|
| Chris wrote: | | I'm generally opposed to adding rules about how things must be posted. I think that would discourage people from posting. However, a template that guides you through the posting process would probably be worthwhile. |
Thanx.... for handling me gently.
n b |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Tue May 15, 2007 5:54 pm Post subject: |
|
|
| jon wrote: | | I wouldn't want to be dictated to about the way I post it |
You can always feed some other black hole accept S&F.
The same goes for the gay noob above. _________________
 |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Tue May 15, 2007 7:28 pm Post subject: |
|
|
You really don't like it when people disagree with you, do you?
Makes me wonder why you start this type of debate. You seem to find it easier to just go in a strop and throw your dummy out the pram rather than having a sensible discussion.
Oh, and please check your grammar and spelling before posting. Otherwise we'll have to get someone to check all posts for spelling and grammar before they are allowed to be posted  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Tue May 15, 2007 8:47 pm Post subject: |
|
|
| Quote: | | Oh, and please check your grammar and spelling before posting. | Bla bla bla bla... You really like talking. Perfect grammar and syntax without meaning.
| Quote: | | You really don't like it when people disagree with you, do you? |
I would like it if I choose to suicide.
| Quote: | | Makes me wonder why you start this type of debate. |
Keep wondering. You maybe got it one day. _________________
 |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
Posted: Tue May 15, 2007 8:58 pm Post subject: |
|
|
Arh majkinetor, Have I gone and upset you now?
Oh well, at least you've helped prove my point  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Tue May 15, 2007 10:03 pm Post subject: |
|
|
Not at all Jon, not at all.
Oh well, at lest I proved your point. Something is achieved  _________________
 |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2383
|
Posted: Wed May 16, 2007 7:59 am Post subject: |
|
|
| I'd like to see more organization with the way that scripts and functions are posted but I think that suggesting a template or a particular structure is a waste of time and that rejecting something posted because it doesn't fit the suggested guidelines is going too far. The only alternative that I can see that has any chance of working is to provide a form that needs to be filled in instead of providing a simple textbox with a preview and submit button. That way, even if someone doesn't fill in all the fields in the form (no screenshot available maybe), at least the posts would all follow the same format and be easier to categorize and search. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3593 Location: Belgrade
|
Posted: Wed May 16, 2007 9:55 am Post subject: |
|
|
| Quote: | | That way, even if someone doesn't fill in all the fields in the form (no screenshot available maybe), at least the posts would all follow the same format and be easier to categorize and search. |
Screnshot will certanly be non-mandatory. Some other things should be mandtatory. Like I said, I like Titans idea about MySql + PHP aproach. _________________
 |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 403
|
Posted: Sat Dec 29, 2007 10:47 pm Post subject: |
|
|
hello all,
I'm a semi-experienced programer but new to AHK.
This Scripting language was designated by the bank I work for as the "only acceptable" way to automate tasks.
I am by no means taking off the gauntlet and pretending to tell any one how to run their house. even so ..., I'll offer my input on this subject.
Posted scripts should follow some sort of naming conventions. makes them easier to read( I see many references to accomidating noobs). It seems to me making a standard of some kind gives the noobs easier understanding of what to expect
I have experienced extreem difficulty finding things on some subjects.(special thanks to those who seem to make consistantly formated solutions).
I have also found the regulars are always ready to point to a specific solution they already know about
Its usually those who dont participate much that say things like search the forum. or check some manual blah blah. I have noticed this because most other forums do just that. those of you who i have discovered to be overly helpfull see to be the glue factory of this whole project. Thanks.
But with resepct you guys wont all always be here to point idiots like me in the right direction to find usefull stuff.
and oddly enough while you guys (the scripts i have seen any how) seem to have your own unique naming and or formating rules. you each are consistant with it.
I think what you guys mostly (if i may input an idiots observation) fear is that someone will tell you you cant use your own style any more. I for one as soon as i do start contributing (still learning curve for ahk) wouldnt have it that way. i too have my own style
the compromise I think might go something like this.
Each programmer that wants to have a featured script or functions also has to publish something explaining his naming convention(if any)
and some sort of Detail on his approach to programming.
I am certainly not implying that everyone with featured scripts looses there place without it just maybe for future
Ill give an example of what i mean
Name CSimmons
Handle: tank
naming conventions for variables
Gui objects:
button=btn_unique variable
text=txt_unique variable
etc 3 digit abreviation for type an underscore and then a variable name
Variables in general
full text description of value spaces replaced with underscore and a number to inumerate if used repeatadly
example
google search results= google_search_results_1
Use of functions
any peice of code i write more than once becomes a function that i will usually store in an include file called functions.ahk
any time I need to reuse code within a function(cant make this a function because of codeing restrictions) ill create an external AHK file and conditionally include it so that it executes each time independently as its called for
wont see alot of loops in my scripts (just not needed for most of what i do)
i perfer the clasic "if" statment to switches
i love to mingle vbs and javascript into my scripts you will see this alot untill AHK matures in its ability to handle objects and content of documents
oh and i have bad grammer  _________________ Read this
Com
Automate IE7 with Tabs |
|
| Back to top |
|
 |
Andreone
Joined: 20 Jul 2007 Posts: 257 Location: Paris, France
|
Posted: Sun Dec 30, 2007 12:19 am Post subject: |
|
|
I was first undecided about that, and finally choose to respond I don't care.
Then I reread the all posts ... and I now feel I should say Yes...
For instance, this is a rule on codeproject.com and it's kind a nice that articles respect the same scheme.
The forum would surely benefits of a minimum of organization.
So I was thinking about create a new section in the forum, where all post should respond to a particular layout (using a dedicated form to post?). Posts in others sections wouldn't have such kind of restriction, as it is now. Maybe this way pros and cons would be satisfied.
@tank: Mission: Impossible
And Welcome to AHK  |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 303 Location: Illinois
|
Posted: Sun Dec 30, 2007 6:10 am Post subject: |
|
|
A new forum for more strict standardized stuff would be pretty cool, but we should leave the S&F forum as it is, aside from maybe moving a few things into the new forum.
Having the current S&F is nice though. Some people post impartial things and others come by with some help and they post their new code and things can get done. So, adding another forum for more standardized posts would be pretty cool I suppose, I do like looking at some of Titan's and majkinetor's posts, for example, and see that they clearly have a nice title, descriptive text in the post, clear documentation (not always in the post, but on other web pages. This often times looks very nice), and of course a clear link to download the source or of course have the source right there. _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6309 Location: Pacific Northwest, US
|
Posted: Sun Dec 30, 2007 6:46 am Post subject: |
|
|
You can always make a template on the wiki, and keep standardized scripts there. I think it would be to confusing to adopt a new forum section. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|