Coder Social home page Coder Social logo

vendingmachine's Introduction

VendingMachine

이 소스는 Swift로 함수형 프로그래밍 시작하기 온라인 강의에서 진행하는 프로젝트 소스 입니다.

Swift 함수형 프로그래밍 예제 (자동판매기 만들기)

screenshot

자동판매기 고도화

  • 이 레파지토리를 fork 하여 아래의 요구사항을 추가하여 고도화 해보세요
  • 고도화가 완성된 레파지토리의 주소를 강의 사이트 Q&A 에 공유해 주세요
  • 풀리퀘스트를 보내주시면 코드리뷰 해드립니다. (머지는 하지 않습니다.)
  1. 음료수의 재고상태를 State에 추가하세요
  2. 음료수의 재고를 채워넣기 위한 Input 명령을 추가해 넣으세요
  3. 현재 음료수 개수에 따라 음료수 부족 에러를 추가해 넣으세요
  4. 음료수가 출력되면 재고도 함께 차감되도록 하세요

vendingmachine's People

Contributors

iamchiwon avatar iamchiwon-ncode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.