Git Product home page Git Product logo

birthday-greetings-kata's Introduction

Birthday Greetings Kata

Problem

write a program that:

  • Loads a set of contact records from a flat file
  • Sends a greetings email to all contacts whose birthday is today
  • The flat file is a sequence of records, separated by newlines;

these are the first few lines:

last_name, first_name, date_of_birth, email
Doe, John, 1982/10/08, [email protected]
Ann, Mary, 1975/09/11, [email protected]
Doe, Jane, 1974/03/13, [email protected]

The greetings email should contain the following text:

To: <email>
Subject: Happy birthday!

Body:
Happy birthday, dear <first_name>!

with the email and first_name of the contact substituted with those of the birthday person

Notes

The participant can print to system out instead of actually sending emails

Evolution

Make the program send a single email reminder to all but the contact whose birthday is today

Example:

It is John Doe's birthday - Ann and Jane gets an email reminder.

The reminder email should contain the following text:

To: <email>
Subject: Birthday reminder!

Today is <first_name>'s birthday!

with the email and first_name of the contact substituted for accordingly

birthday-greetings-kata's People

Watchers

 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.