Tag Archives: University of Kent

  • Getting the right module structure: finding and fixing problems in your projects
    2010-06-07 Erlang Central

    Videos



    Low coupling between modules and high cohesion inside each module are the key features of good software architecture. Systems written in modern programming languages generally start with some reasonably well-designed module structure, however with continuous feature additions, modifications and bug fixes, software modularity gradually deteriorates. So, there is a need for incrementally improving modularity to avoid the situation when the structure of the system becomes too complex to maintain.We ...


    Read more


  • The good code, the bad code and the ugly code: using Wrangler to refactor Erlang programs and tests
    2010-03-22 Erlang Central

    Presentations

    Wrangler is an interactive refactoring tool for Erlang. We will introduce the system through a series of short demonstrations, and then concentrate on the 'similar code' detection facilities of Wrangler. Using these with the refactorings in Wrangler we show how code - particularly test code - can be shrunk dramatically, under the guidance of the test engineer. The talk is illustrated with examples from Open Source and commercial Erlang development projects. ...


    Read more


  • Tutorial – Wrangler
    2009-11-13 Erlang Central

    Presentations

    Wrangler is a refactoring tool which supports interactive refactoring for Erlang programs. It is integrated with both Emacs and Eclipse. Wrangler supports a variety of refactorings: Rename variable, module, function, process; Generalise function definition, Move function from a module to another; Function/ Macro extraction, Fold expressions against function/macro; Tuple function parameters, etc. Apart from refactorings, Wrangler also provides functionalities for "bad smell" detection ...


    Read more


  • Improving your test code with Wrangler
    2009-11-12 Erlang Central

    Videos



    In this talk we show the 'similar code' detection facilities of Wrangler, combined with its portfolio of refactorings, allow test code to be shrunk dramatically, under the guidance of the test engineer. The talk is illustrated with examples from Open Source and commercial Erlang development projects. ...


    Read more


  • Teaching Erlang using Robotics and Player/Stage
    2009-09-05 Erlang Central

    Videos



    Computer science is often associated with dull code debugging instead of solving interesting problems. This fact causes the decrease in number of computer science students and can be stopped by giving lectures on interesting context like robotics. In this paper we introduce an easily deployable and extensible library which allows programming a popular robot simulator in Erlang. New possibilities for visual, simple and attractive teaching of functional languages are open. ...


    Read more


  • Testing Wrangler with QuickCheck
    2009-06-22 Erlang Central

    Videos

    Refactoring tools ought to allow program developers to quickly and safely refactor their programs, especially large programs. However, a robust and safe refactoring tool is hard to develop, and most refactoring tools still contain bugs even after extensive testing. While unit testing does help to find bugs to refactoring tools, it is tedious to manually write test programs, and the coverage of the test cases is hard to guarantee because of all the possible programs you can potentially r ...


    Read more


  • Hands-on refactoring with Wrangler
    2009-06-22 Erlang Central

    Videos

    Wrangler supports refactoring for Erlang projects, and is embedded in emacs and Erlide, the Erlang plugin for Eclipse. With Wrangler you can perform basic refactorings, such as renaming a function across a project, or extracting a function from a piece of Erlang code. Wrangler also allows you to find duplicate or "similar" code across a project, and to refactor this to eliminate these code clones. This has proved to be very useful particularly in examining test code. You can also spot "bad sm ...


    Read more