New topic: "Want someone to review your application?" I certainly do!
<http://forums.realsoftware.com/viewtopic.php?t=47846> Page 1 of 1 [ 7 posts ] Previous topic | Next topic Author Message barrytraver Post subject: "Want someone to review your application?" I certainly do!Posted: Fri May 10, 2013 4:32 pm Joined: Fri Sep 30, 2005 1:53 pm Posts: 894 Location: Philadelphia, PA I would very much appreciate feedback on a program I wrote called CodeHelper. CodeHelper is a program I wrote to help people analyze or modify RB Projects they have written or are writing (or, for that matter, other people have written). At present it contains more than 100 tasks that it can perform, many of which are difficult or near-impossible to do otherwise. It does this by analyzing or modifying the RB Project by working with it as saved in XML format. I would be very grateful if you looked at the program and shared with me even a sentence or two on what you like and/or donât like, new features you would like to see added, other suggestions for improvement, bugs to re movet, or anything else. I wrote it in Windows, so I am especially hoping to hear from Mac users as to how well CodeHelper works (or if it works at all, since I do not yet have a Mac and thus have not yet had opportunity to test it on the Mac). Here's where to find an introduction:: http://traver.org/ch/ch105.htm And here's where to find the program itself (so far essentially tested only on Windows).: http://traver.org/ch/ch105.rbp Barry Traver Top Jason_Adams Post subject: Re: "Want someone to review your application?" I certainly Posted: Fri May 10, 2013 4:58 pm Joined: Fri Nov 10, 2006 4:10 pm Posts: 1827 Location: Michigan, USA Do you plan on supporting RBVCP format in the future? I realize that would require a completely different parsing system, but I'd prefer not to save as XML and back to RBVCP, as I can't be sure it'd transition in such a way that the VCS wouldn't whine at. _________________ Windows 8 x64 Windows XP Pro SP3 Ubuntu 11.04 via Virtual Box RS Enterprise 2012r1.1 Programming Tutorials & Free Projects: http://www.JasonTheAdams.com "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top DaveS Post subject: Re: "Want someone to review your application?" I certainly Posted: Fri May 10, 2013 6:15 pm Joined: Sun Aug 05, 2007 10:46 am Posts: 4863 Location: San Diego, CA I don't know about "this" version... but I have used previous versions of this program on my Mac I have not looked at this version (yet). but truth be told I have only used one section..... The parts to look for unused variables, unused methods.... None of the rest were of added value.... But I will check this out over the weekend and let you know _________________ Dave Sisemore iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top barrytraver Post subject: Re: "Want someone to review your application?" I certainlyPosted: Sat May 11, 2013 12:08 am Joined: Fri Sep 30, 2005 1:53 pm Posts: 894 Location: Philadelphia, PA DaveS wrote:I don't know about "this" version... but I have used previous versions of this program on my Mac.... I have not looked at this version (yet). but truth be told I have only used one section..... The parts to look for unused variables, unused methods.... None of the rest were of added value.... But I will check this out over the weekend and let you know. Dave S., I hope that in addition to letting Jason know you will let me (and others) know as well, since I was the one who requested feedback and have freely given the program (including complete source code) to anyone interested. Incidentally, I was glad to see that you liked my idea of writing a program emulating the BASICs of the 1970's and 1980's, even (as far as I know) you have chosen NOT to make your source code for that freely available. That is certainly your right, although over the years I have chosen otherwise regarding my own source code. It has been freely shared, "warts and all." I did appreciate your note to Jason, who has the choice to look at CodeHelper (including source code) for himself or to let you look at them "over the weekend" and let him know what to think of my program. Since I started this message thread and since you published your note publicly, however, I trust that you will not object to my sharing some comments on your comments. First, I am glad to hear from you that in CodeHelper -- which contains more than 100 tasks it can perform, many of which are difficult or near-impossible to do otherwise -- you did find "one section" that you used, even though you thought that "None of the rest were of added value." If even one section was useful to you, I'm glad (and CodeHelper was my gift to the community; it did not cost you or anyone else anything). Second, you say, "... truth be told I have only used one section..... The parts to look for unused variables, unused methods.... None of the rest were of added value..." (That one section, by the way, also checked variables and properties for duplicates and looked for unused properties.) Fair enough. But since most of CodeHelper's hundred routines accomplish things ordinarily difficult to do, would you not grant that other people (such as Jason?) may find sections useful to them that may not be of interest to you? One thing to keep in mind is that since you have the source code, you do not have to use the routines "as is." You can adapt the code to your own purposes, (and you do not have to learn things the hard way as I did). CodeHelper is intended for programmers who have some ability to write and modify programs. Do you know of any other program (with source code freely provided) that does such a variety of tasks based on Real Software's XML format for RB Projects? The operative word is variety. You can certainly use CodeHelper "as is" (that's the way I primarily use it), but you also have the freedom to build on CodeHelper to include special tasks that match up with your own purposes and interests. Barry Traver Top barrytraver Post subject: Re: "Want someone to review your application?" I certainlyPosted: Sat May 11, 2013 12:27 am Joined: Fri Sep 30, 2005 1:53 pm Posts: 894 Location: Philadelphia, PA Jason_Adams wrote:Do you plan on supporting RBVCP format in the future? I realize that would require a completely different parsing system, but I'd prefer not to save as XML and back to RBVCP, as I can't be sure it'd transition in such a way that the VCS wouldn't whine at. Jason, That's a good question. CodeHelper in its operation goes all the time between .rbp and .xml, and that has created NO problems. But it's possible (likely?) that Version Control format contains information not present in .XML or .RBP formats. At this point my time has been spent on .SML and .RBP formats (I haven't even looked at .RBVCP format, although I've thought about it). But "I will check this out over the weekend and let you know" <grin>. Have you yourself done any experimenting with this format? Perhaps you can tell me a bit more about what you would like to do, and I'll see what I can do.... Barry Traver Top barrytraver Post subject: Re: "Want someone to review your application?" I certainlyPosted: Sat May 11, 2013 12:58 am Joined: Fri Sep 30, 2005 1:53 pm Posts: 894 Location: Philadelphia, PA There are lots of things in CodeHelper that I do NOT use regularly (although I use almost everything from time to time). Following are some examples of things CodeHelper can do that you may NOT have any interest in doing: 1. Add automatic comment to all "End If" lines. Example: replace "End If" with "End If // If Total > 200" 2. Add automatic comment to all "Next" lines. Example: replace "Next I" with "Next I // For I = 0 To UBound ( XMLLines )" 3. Add "boilerplate" material to beginning or end of all procedures Example: Add the following: "Exception MsgBox "An error occurred in Window1.EnableMenuItems." 4. Check to see whether any Variables and any Properties have been given the same name. 5. Check to see whether any Variables are DIMensioned but never actually used. 6. Check to see whether any Properties in a procedure are defined but never actually used. 7. Conform keywords to standard REALbasic format regarding case (e.g., "NEXT","next", "NExt" all become "Next"). 8. Display source code on screen for entire project or for a particular procedure. 9. Display XML file on screen (including any modifications that have been made to the XML code). 10. Edit XML or extracted Source or search for string or whole word in XML or extracted Source. 11. Inset a space before and after mathematical operators ( + , - , , / , = , ^ , <> , >= , <= ), before or after parentheses symbols, and/or after commas. 12. Increase indentation of source code beyond the normal indentation (sometimes makes source code more readable). 13. Remove all blank lines from source code. 14. Save to disk extracted or edited source code displayed on the screen. 15. Save to disk (modified) XML file displayed on the screen (will run outside CodeHelper as a regular program). 16. Send to printer any list, source code, or XML file on the screen. 17. Add appropriate counter variable to "Next" line (e.g., "Next" becomes "Next LineNumber"). 18. Double-space source code. 19. Display list of modifications made to XML code by CodeHelper. 20 Obfuscate (or unobfuscate) source code by switching control names. 21. Change a "name" (e.g., variable name) throughout the code (uses RegEx to change only "whole words"). 22. Comment out content of all Functions and Subs but add MsgBox showing the name of that particular Method (can be useful if a program needs to be radically revised or a certain section extracted). 23. Change font to System and font size to 0 throughout the Project (similar to changing IDE without making any changes in source code) 24. Change XML and (extracted) Source from ReadOnly to editabe. BUT you may find that you have an interest in at least some of the preceding or in some of the other tasks CodeHelper can do. Barry Traver Last edited by barrytraver on Sat May 11, 2013 1:46 pm, edited 2 times in total. Top barrytraver Post subject: Re: "Want someone to review your application?" I certainly Posted: Sat May 11, 2013 1:38 pm Joined: Fri Sep 30, 2005 1:53 pm Posts: 894 Location: Philadelphia, PA Dave S., I re-read your post of Friday, May 10, and it certainly appears that I seriously mis-read it. I don't know why I took it as intended for Jason rather than for me, but regardless of the intended recipient, my response was inappropriate. Thus I apologize for what I said.and I hope that our friendship may be restored. Perhaps I acted over-defensively in response to the general lack of interest in "CodeHelper" after I had spent years on it as my gift to the community. What I posted was NOT intended to be a "bashing" of you, but at the very least it was a failure in communication on my part if it seemed to be intended that way. So I'm sorry for reacting in the way I did. Even if I misunderstood what you posted, my response was improper, going beyond what it should have been (or would have been, if I had taken more time to think through the situation). Barry Traver Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 7 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
