Code Monkey home page Code Monkey logo

debugging_1's Introduction

Debugging 1

A program to introduce you to debugging.

Instructions

In this program, there are three bugs. You have to find them, and fix them. You have to do this as systematically as possible:

  • Tighten the loop (find the exact line the bug is coming from)
  • Get some insight (use p to inspect everything in the region of that line)
  • Once you know the one thing that is wrong, out of place, misspelled, or not giving you what you expect, try to fix it.

Wisest is he who tries only one thing to fix the problem. Faffing about trying whatever occurs to you next is a recipe for development hell.

User Stories

As a user
So I can never be late
I want to make an appointment with a time and title
As a user
So I can see all appointments I have today
I want to print out all upcoming appointments
As a user
So I can avoid conflicts
I want to see an error if I try to book when there is already an appointment
As a user
So I can know where my appointment is
I want to add a location to my appointment
As a user
So I can know where my appointment location is easily
I want to get a human-readable string of my appointment location

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.