Giter Club home page Giter Club logo

enigma's Introduction

Enigma

Turing – Backend Module 1 Final Independent Project: Self-Assessment

Learning Goals / Areas of Focus

  • Practice breaking a program into logical components
  • Build classes that demonstrate single responsibilities
  • Test drive a well-designed Object Oriented solution
  • Work with file i/o

Functionality

An Enigma class, consisting of encrypt and decrypt methods, was successfully implemented, and encrypt/decrypt command line interfaces were also successfully implemented, as specified in the project requirement's interaction pattern. No attempt was made to implement a crack method.

Self-assessed score: 3 / 4

Object Oriented Programming

The final product is comprised of six classes in total, each with a single responsibility, in addition to a Shift module that serves as a mixin within the Encryption and Decryption classes. Only one method includes more than 7 lines of code, and all classes are less than 100 lines. All variable and method names clearly communicate their stated purpose.

Self-assessed score: 3 / 4

Test Driven Development

Best attempts were made to write tests before implementing code, although this was not always the case, an area in which there is acknowledged need for improvement. Overall testing covers every method, evidence for which is supported by SimpleCov test coverage analysis. All tests are named in a descriptive manner that clearly communicates the methods being tested. Mocks and stubs were implemented in three tests for methods whose optional parameters include a randomly generated number and/or current date.

simplecov

Self-assessed score: 2.5 / 4

Version Control

Git workflow details close to 50 commits, only a few of which may have multiple pieces of functionality; however, the project included less than 10 pull requests. Overall version control, specifically, better use of branches and pull requests, is another identified area in which improvements are needed.

Self-assessed score: 2.5 / 4

enigma's People

Contributors

freeheeling avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.