Menu

A very useful tool (and some notes)

2015-01-05
2015-01-24
  • Juergen Thomas

    Juergen Thomas - 2015-01-05

    To start a bot in German Wikibooks I used DotNetWikiBot and it works without any problems from the very first time. (The only problems I got were caused by the pause of five years since I developped .NET for the last time.) Nevertheless I have some notes:

    • I wonder why there's no .NET 4.x version. It's no problem to create a new application as DLL, add two references, and compile.
    • I wonder about the violation of Guidelines for Names. Properties should be written in PascalCase (first letter capitalized), not camelCase.
    • I wonder why there's no distinction between fields and properties. The most usual way to define properties is something like that in the Page class:
      public string Title { get; set; }
    • Moreover, I'ld use #region in source code.

    More notes I'll send as feature requests. Best regards, Juergen

     
  • CodeDriller

    CodeDriller - 2015-01-24

    First of all thank you for such a detailed feedback. I appreciate it.

    • It's so easy to recompile the framework using .NET 4 or Mono that I saw no reason to supply pre-compiled DLLs. But beware that when using .NET 4 you should change one line of code inside Bot.GetXMLReader() function. Follow the instructions in the comments in this function.
    • I try to keep things as simple as possible. I don't make properties out of fields because for the moment I don't see any special reason to do it. (And no, I don't care much about the guidelines.)
    • People mostly use Class view and bookmarks to navigate through code in IDE. I don't think many users would bother opening and closing code regions. But anyway it's a reasonable idea, thank you.
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.