GithubHelp home page GithubHelp logo

gsaslis / coding-kata-naming Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 3.0 14 KB

A coding kata on naming: the hardest problem in software engineering

License: MIT License

CSS 100.00%
naming software-engineering software-quality programming-exercise

coding-kata-naming's Introduction

Codefather: A Coding Kata on Naming

A coding kata about good (and bad!) naming in software development.

Tip
In Greece, at least, Godfathers pick the name for the child they baptize. This is where Codefather comes from, but it is quite possible that a lot of people don’t have this prior knowledge, which renders the choice of this name for the kata a clear problem. Though the play on words makes Codefather a fun title, it is arguably still a bad choice. Consider this the first lesson included in this kata about naming.

Goal

By the end of this kata you should have established an appreciation of the intrinsic difficulty in picking good names and you will hopefully be convinced that naming is an important activity in software development and is worth your time and energy.

Requirements

Even though you can choose any programming language, this kata is really a modeling exercise. It is thus possible to complete this on a piece of paper, a napkin, a notepad, your favourite IDE or text editor. In fact, you can even solve this in your brain!

General Naming Rules

Before you go on to the kata itself, you might want to consider the following list of rules around naming.

Problem Description

The problem we will examine is one we all have to deal with:

Our mobile phone bills.

In short, you are responsible for creating a model, i.e. all the objects and data structures that can provide your client - the mobile network operator - the most flexibility in billing its subscribers.

For the purposes of this kata, we just need the model to support the creation of the mobile phone bill. We can safely assume there is some existing billing system that has calculated every charge on our account.

We are simply concerned with presenting that information in a document.

If you are ready to begin, please proceed to Step 1 !

coding-kata-naming's People

Contributors

archimidis avatar gsaslis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.