rcmaehl Posted December 5, 2011 Author Share Posted December 5, 2011 As guinness pointed out, we all have our own little foibles - but the majority of the long-term members here have pretty easy-to-follow coding styles. Perhaps take a look at their work and see if there are tips for your own scripts. M23That I will do. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
czardas Posted December 5, 2011 Share Posted December 5, 2011 One of my coding foibles is I generally align two dimensional array elements neatly on the page. This allows me to quickly locate elements to fix errors or alter things. In fact adding underscore will slow the script down ever so slightly, but it's a trade off. Example here: operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
MvGulik Posted December 5, 2011 Share Posted December 5, 2011 (edited) Foibles ... ?Definition: personal imperfectionSynonyms: characteristic, defect, eccentricity, failing, fault, frailty, idiosyncrasy, infirmity, kink, mannerism, oddity, peculiarity, quirk, shortcoming, singularity, vice, weak point, weaknessAha. Where talking humans here.Ban monospaced fonts in coding. ... No more wasting time trying to lineup code stuff ... or cursing at Tidy for messing it up again. (Although UDF function docs kinda look funny with it.)---It's life Jim, but not as we know it Edited December 5, 2011 by MvGulik rcmaehl 1 "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
czardas Posted December 5, 2011 Share Posted December 5, 2011 (edited) Everyone has foibles, unless your name is Spock.Capt. Kirk: You'd make a splendid computer, Mr Spock.Spock: That is very kind of you, Captain! Edited December 5, 2011 by czardas rcmaehl 1 operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Chimaera Posted December 5, 2011 Share Posted December 5, 2011 (edited) I'm quite anal about variable names or getting more so as the scripts start getting better and bigger, and the comment about add comments as you progress is something im starting to do now as well as i cant remember what the feck i was doing a month later when i pick it up again. Edited December 5, 2011 by Chimaera If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
rcmaehl Posted December 7, 2011 Author Share Posted December 7, 2011 I find myself using a $Label[label number here] array and the like when my programs start getting big to cut down on variables. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now